This repository has been archived by the owner on Jul 6, 2019. It is now read-only.
bug: -c
errors if no package.json in CWD or in parent directories
#72
Labels
reproduction:
in a blank directory without a package.json
note, if there is a package.json in one of the parent directories (regardless of contents as long as it's valid json), it also lets
npx -c...
proceed normallyexpected
npx -c would shell exec a string even without a package.json present
The text was updated successfully, but these errors were encountered: