Closed max-mapper closed 10 years ago
I just tracked this down to the npm-execspawn
module.
The problem is this line, which removes the quotes: jsonmap "delete this.arr
" -> jsonmap delete this.arr
var parsed = parse(cmd, xtend(opts.env, args, {'':'$'})).map(toString).join(' ')
(https://github.com/mafintosh/npm-execspawn/blob/master/index.js#L29)
I think it is a bug in the npm-execspawn
module. I was just able to fix that and will send a pull request to that module.
@maxogden try updating to latest - should be fixed
test.json:
package.json:
what happens:
they should all output the same thing