Skip to content

Commit

Permalink
fix(cli): NODE_NO_WARNINGS on windows (#1164)
Browse files Browse the repository at this point in the history
* fix(cli): NODE_NO_WARNINGS on windows

* fix(cli): turning warnings back on

* fix(cli): node warning turned off for dev cli
  • Loading branch information
simonas-notcat authored Apr 11, 2023
1 parent 04f5632 commit e9474e2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"test": "cross-env NODE_OPTIONS=\"--experimental-vm-modules --experimental-import-meta-resolve\" jest",
"test:watch": "pnpm test --watch --verbose",
"test:browser": "cd packages/test-react-app && pnpm test:browser",
"veramo": "cross-env ./packages/cli/bin/veramo.js",
"veramo": "cross-env NODE_NO_WARNINGS=1 ./packages/cli/bin/veramo.js",
"prettier": "prettier --write \"{packages,docs,__tests__,!build}/**/*.{ts,js,json,md,yml}\"",
"build-clean": "rimraf --glob ./packages/*/build ./packages/*/api ./packages/*/node_modules ./packages/*/tsconfig.tsbuildinfo ./temp ./tmp && jest --clearCache",
"publish:latest": "lerna publish --conventional-commits --include-merged-tags --create-release github --yes --dist-tag latest --registry \"https://registry.npmjs.org/:_authToken=${NPM_TOKEN}\"",
Expand Down
2 changes: 1 addition & 1 deletion packages/cli/bin/veramo.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
#!/usr/bin/env NODE_NO_WARNINGS=1 node
#!/usr/bin/env node

import '../build/cli.js'

0 comments on commit e9474e2

Please sign in to comment.