[IF-Env] Generates incorrect package.json when there is also node-modules
inside the folder
#860
Labels
bug
Error, flaw or fault
node-modules
inside the folder
#860
Description of the Error
When running if-env from a folder, where also exists node-modules, the generated package.json file contains all dependencies from node-modules
Expected Behaviour
Package.json should contain only necessary dependencies, and the ones from node-modules should not be included
Actual Behavior
Dependencies from node-modules are included into the package.json file. This happens both when running from inside if and outside if.
Steps to Reproduce
if
.npm run --prefix=./if if-env -- -m manifests/testing/testing.yaml --cwd
Manifest File That Generated the Error
Testing.yaml
The text was updated successfully, but these errors were encountered: