You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
doesn't wrap the ROOT_DIR between double/single quotes:
ROOT_DIR=${join(__dirname, '../..')}
The side effect of this is that, for example, if your project is located in a directory that has spaces in its path then the hurl new fail with something like:
[String: '']
stdout: '',
stderr: '/bin/bash: line 3: with: command not found\n',
code: 127,
cat: [Function: bound ],
exec: [Function: bound ],
grep: [Function: bound ],
head: [Function: bound ],
sed: [Function: bound ],
sort: [Function: bound ],
tail: [Function: bound ],
to: [Function: bound ],
toEnd: [Function: bound ],
uniq: [Function: bound ] }
[hurley] - Found error while running script!
(node:25055) UnhandledPromiseRejectionWarning: Error: Errors found in script, stopping execution
at Object.<anonymous> (/dir with space/myapp/node_modules/@worldsibu/hurley/dist/utils/sysWrapper.js:119:27
after moving the project to another directory that does not have spaces in its path then the command hurl new works as expected.
The text was updated successfully, but these errors were encountered:
For example, ATM, this one: https://github.com/worldsibu/hurley/blob/develop/src/generators/cryptofilesgenerator.sh.ts
doesn't wrap the ROOT_DIR between double/single quotes:
The side effect of this is that, for example, if your project is located in a directory that has spaces in its path then the
hurl new
fail with something like:after moving the project to another directory that does not have spaces in its path then the command
hurl new
works as expected.The text was updated successfully, but these errors were encountered: