Skip to content

Commit d00ea0e

Browse files
committed
run no-new-func test when building for new version
1 parent 1211ac9 commit d00ea0e

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
@@ -57,7 +57,7 @@
5757
"baseline": "node test/image/make_baseline.js",
5858
"noci-baseline": "npm run cibuild && ./tasks/noci_test.sh image && git checkout dist && echo 'Please do not commit unless the change was expected!'",
5959
"preversion": "check-node-version --node 16 --npm 7 && npm-link-check && npm ls --prod --all",
60-
"version": "npm run build && npm run no-bad-char && git add -A lib dist build src/version.js",
60+
"version": "npm run build && npm run no-bad-char && npm run no-new-func && git add -A lib dist build src/version.js",
6161
"postversion": "node -e \"console.log('Version bumped and committed. If ok, run: git push && git push --tags')\"",
6262
"postpublish": "node tasks/sync_packages.js",
6363
"postshrinkwrap": "chttps ."

0 commit comments

Comments
 (0)