Skip to content

Commit 2a0619d

Browse files
committed
[meta] ensure not-in-publish‘s absence does not fail anything
1 parent 57a7cc9 commit 2a0619d

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
@@ -39,7 +39,7 @@
3939
},
4040
"scripts": {
4141
"prepublishOnly": "safe-publish-latest",
42-
"prepublish": "not-in-publish || npm run prepublishOnly",
42+
"prepublish": "!(type not-in-publish) || not-in-publish || npm run prepublishOnly",
4343
"prelint": "eclint check",
4444
"lint": "eslint . bin/*",
4545
"pretest": "npm run lint",

0 commit comments

Comments
 (0)