Skip to content

Commit

Permalink
fixed checkgit
Browse files Browse the repository at this point in the history
  • Loading branch information
ptweety committed Oct 8, 2022
1 parent ef9968f commit c4a7f27
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@
"url": "git+https://github.com/ptweety/node-red-contrib-ccu.git"
},
"scripts": {
"checkgit": "([[ $(git rev-parse --abbrev-ref HEAD) == \"master\" ]] && git diff --exit-code && git diff --cached --exit-code && git diff --exit-code origin/master..master)",
"checkgit": "([[ $(git rev-parse --abbrev-ref HEAD) == \"main\" ]] && git diff --exit-code && git diff --cached --exit-code && git diff --exit-code origin/main..main)",
"lintfix": "xo --fix",
"lintonly": "xo",
"postpublish": "git tag v$(jq -r '.version' package.json) && git push --no-verify --tags",
Expand Down

0 comments on commit c4a7f27

Please sign in to comment.