Skip to content

Commit

Permalink
Merge branch 'dev' into feat/SOF-6631
Browse files Browse the repository at this point in the history
  • Loading branch information
pranabdas committed Aug 16, 2023
2 parents e1f10e7 + d597181 commit de2c98f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

SRC_PATTERN="\.y(a?ml)$"
SRC_PATTERN="^assets\/|\.y(a?ml)$"
if git diff --cached --name-only | grep --quiet -E "$SRC_PATTERN"
then
echo "Yaml assets changed. Running build script."
Expand Down

0 comments on commit de2c98f

Please sign in to comment.