eshost icon indicating copy to clipboard operation
eshost copied to clipboard

eshost thinks it's an error if JSC prints "x: y"

Open rkirsling opened this issue 4 years ago • 0 comments

Without exactly one space:

λ eshost -se "'x:y'"
#### ch, jsc, sm, v8, xs
x:y

λ eshost -se "'x:  y'"
#### ch, jsc, sm, v8, xs
x:  y

With exactly one space:

λ eshost -se "'x: y'"
#### ch, sm, v8, xs
x: y

#### jsc

y: undefined

The problem appears to be here, but I don't know what the appropriate solution is: https://github.com/bterlson/eshost/blob/master/lib/agents/jsc.js#L9

rkirsling avatar Apr 15 '20 21:04 rkirsling