Skip to content

Commit

Permalink
🩹 fix(data/js): Make release script work.
Browse files Browse the repository at this point in the history
  • Loading branch information
make-github-pseudonymous-again committed Mar 9, 2021
1 parent 23c5874 commit 9fdb4a0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion data/js/.husky/commit-msg
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ function ask () {{
}}

while ! npm run commit-msg -- "$1" ; do
if ask 'There was an error. Do you wish to amend your commit message?' Y ; then
if [ -t 1 ] && ask 'There was an error. Do you wish to amend your commit message?' Y ; then
${{GIT_EDITOR:-$EDITOR}} "$1" < /dev/tty
else
exit 1
Expand Down
2 changes: 1 addition & 1 deletion data/js/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
"precommit": "lint-staged",
"prepare": "npm run build",
"prepublishOnly": "pinst --disable",
"release": "np --message ':hatching_chick: release: v%s'",
"release": "np --message ':hatching_chick: release: Bumping to v%s.'",
"test": "ava",
"travis": "npm run lint && npm run cover"
}},
Expand Down

0 comments on commit 9fdb4a0

Please sign in to comment.