Skip to content

Commit

Permalink
fix: docker build fails due to husky
Browse files Browse the repository at this point in the history
  • Loading branch information
nielm committed May 22, 2024
1 parent 2087bd9 commit 298f659
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions cloudrun-malware-scanner/.prettierignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
pyenv
cvds
.next
next-env.d.ts
Expand Down
2 changes: 1 addition & 1 deletion cloudrun-malware-scanner/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"test": "echo \"Error: no test specified\" && exit 1",
"eslint": "eslint *.js",
"eslint-fix": "eslint --fix *.js",
"prepare": "cd .. && husky cloudrun-malware-scanner/.husky ",
"prepare": "{ git rev-parse --is-inside-work-tree >/dev/null 2>/dev/null && test \"$NODE_ENV\" != production -a \"$CI\" != true && cd .. && husky cloudrun-malware-scanner/.husky ; } || echo 'skipping husky setup'",
"typecheck": "tsc --project jsconfig.json --maxNodeModuleJsDepth 0 --noEmit"
},
"author": "Google Inc.",
Expand Down

0 comments on commit 298f659

Please sign in to comment.