Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
rkirsling opened this issue Apr 15, 2020 · 0 comments
Open

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

rkirsling opened this issue Apr 15, 2020 · 0 comments

Comments

@rkirsling
Copy link
Member

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant