Bash syntax error in `jest.jestCommandLine`
claui opened this issue · comments
Claudia Pellegrino commented
Need to change that to:
"jest.jestCommandLine": "if ! type nvm > /dev/null && [ \"${NVM_DIR}\" ] && [ -s \"${NVM_DIR}/nvm.sh\" ]; then . \"${NVM_DIR}/nvm.sh\"; nvm use; fi; node --version && yarn test",
Likewise, in tasks.json
, the command:
needs to change to:
"command": "if ! type nvm > /dev/null && [ \"${NVM_DIR}\" ] && [ -s \"${NVM_DIR}/nvm.sh\" ]; then . \"${NVM_DIR}/nvm.sh\"; nvm use; fi; node --version && yarn compile",
Claudia Pellegrino commented
Fixed in #46.