Skip to content

Commit

Permalink
chore(scripts): Move helper scripts and use right path in shebang (#877)
Browse files Browse the repository at this point in the history
  • Loading branch information
aifrak authored Jun 26, 2023
1 parent f6eff1d commit 911a5eb
Show file tree
Hide file tree
Showing 6 changed files with 5 additions and 5 deletions.
File renamed without changes.
2 changes: 1 addition & 1 deletion .husky/post-checkout
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

# shellcheck source=.husky/_/husky.sh
. "$(dirname -- "$0")/_/husky.sh"
. "$(dirname -- "$0")/common.sh"
. "$(dirname -- "$0")/helpers/common.sh"

if [ "${CI:-false}" = false ] && [ -n "$INSIDE_DOCKER" ]; then
echo "Git Hook triggered: 'post-checkout'"
Expand Down
2 changes: 1 addition & 1 deletion .husky/post-merge
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

# shellcheck source=.husky/_/husky.sh
. "$(dirname -- "$0")/_/husky.sh"
. "$(dirname -- "$0")/common.sh"
. "$(dirname -- "$0")/helpers/common.sh"

if [ "${CI:-false}" = false ] && [ -n "$INSIDE_DOCKER" ]; then
echo "Git Hook triggered: 'post-merge'"
Expand Down
2 changes: 1 addition & 1 deletion .husky/post-rewrite
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

# shellcheck source=.husky/_/husky.sh
. "$(dirname -- "$0")/_/husky.sh"
. "$(dirname -- "$0")/common.sh"
. "$(dirname -- "$0")/helpers/common.sh"

if [ "${CI:-false}" = false ] && [ -n "$INSIDE_DOCKER" ]; then
echo "Git Hook triggered: 'post-rewrite'"
Expand Down
2 changes: 1 addition & 1 deletion .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/sh
#!/usr/bin/env sh

# shellcheck source=.husky/_/husky.sh
. "$(dirname "$0")/_/husky.sh"
Expand Down
2 changes: 1 addition & 1 deletion scripts/run/shell.sh
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
#!/usr/bin/env bash

shell_scripts_globs=(
.husky/*.sh
.husky/commit-msg
.husky/helpers/*.sh
.husky/post-*
.husky/pre-*
run
Expand Down

0 comments on commit 911a5eb

Please sign in to comment.