Skip to content

Commit fb3a243

Browse files
committedMay 5, 2021
[meta] ensure not-in-publish‘s absence does not fail anything
1 parent 900f823 commit fb3a243

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@
5555
},
5656
"scripts": {
5757
"prepublishOnly": "safe-publish-latest",
58-
"prepublish": "not-in-publish || npm run prepublishOnly",
58+
"prepublish": "!(type not-in-publish) || not-in-publish || npm run prepublishOnly",
5959
"prelint": "eclint check",
6060
"lint": "eslint . bin/*",
6161
"pretest": "npm run lint",

0 commit comments

Comments
 (0)
Please sign in to comment.