| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
|
Is it worth the extra code? Maybe just give a better error then: C:\Users\refael>set NODE_OPTIONS=--abort-on_uncaught-exception
C:\Users\refael>node
node: --abort-on_uncaught-exception is not allowed in NODE_OPTIONS
|
Sorry, something went wrong.
There was a problem hiding this comment.
Tiniest of nits: space after semicolon.
Sorry, something went wrong.
|
Node supports the variant spellings at the CLI, but not via NODE_OPTIONS, eventually someone (other than @richardlau ) is going to report this a bug, better to preempt. This PR makes NODE_OPTIONS=--abort-on_uncaught-exception valid, just as node --abort-on_uncaught-exception is valid) so its not necessary to give a better error, because its not an error. |
Sorry, something went wrong.
|
Sorry, something went wrong.
% NODE_OPTIONS=--inspect_brk ./out/Release/node ./out/Release/node: --inspect_brk is not allowed in NODE_OPTIONS NODE_OPTIONS=--inspect-brk ./out/Release/node Debugger listening on ws://127.0.0.1:9229/6cb26d3b-f53e-4f57-ba16-7d38229a7c5e |
Sorry, something went wrong.
There was a problem hiding this comment.
Convinced
Sorry, something went wrong.
There was a problem hiding this comment.
Could you fix the strange indent?
Sorry, something went wrong.
There was a problem hiding this comment.
AFAICT this could be return true?
Sorry, something went wrong.
There was a problem hiding this comment.
nit: define const printB_expectedOutput = 'B\n'; (Actualy I think '^B\n$' would be better).
Sorry, something went wrong.
Sorry, something went wrong.
Sorry, something went wrong.
|
Jenkins built the wrong commit last time, not sure why, trying again. |
Sorry, something went wrong.
V8 options allow either '_' or '-' to be used in options as a seperator, such as "--abort-on_uncaught-exception". Allow these case variations when used with NODE_OPTIONS. PR-URL: #14093 Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: Refael Ackermann <refack@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
V8 options allow either '_' or '-' to be used in options as a seperator, such as "--abort-on_uncaught-exception". Allow these case variations when used with NODE_OPTIONS. PR-URL: #14093 Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: Refael Ackermann <refack@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
V8 options allow either '_' or '-' to be used in options as a seperator, such as "--abort-on_uncaught-exception". Allow these case variations when used with NODE_OPTIONS. PR-URL: #14093 Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: Refael Ackermann <refack@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
V8 options allow either '_' or '-' to be used in options as a seperator, such as "--abort-on_uncaught-exception". Allow these case variations when used with NODE_OPTIONS. PR-URL: #14093 Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: Refael Ackermann <refack@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
|
@nodejs/lts I know we just did a semver-minor for 6.x, and thus it probably won't happen for a while, but it seems like it'd be helpful for people if we could backport this at some point, the errors you get with different versions of node are pretty opaque (see #16999). |
Sorry, something went wrong.
|
I'd be up for considering this semver patch if we assume it likely should have landed in 6.12.0 |
Sorry, something went wrong.
|
@MylesBorins makes sense, the actual feature (supporting the args in NODE_OPTIONS) landed already, actually supporting the alternatives would be a bug fix. Thoughts on how we avoid forgetting to include this in the next patch? Maybe just land on staging now? |
Sorry, something went wrong.
|
Yup!
…On Nov 14, 2017 8:38 AM, "Gibson Fahnestock" ***@***.***> wrote:
@MylesBorins <https://github.com/mylesborins> makes sense, the actual
feature (supporting the args in NODE_OPTIONS) landed already, not
supporting the alternatives would be a bug fix.
Thoughts on how we avoid forgetting to include this in the next patch?
Maybe just land on staging now?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#14093 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AAecVyA5sjepqCaisZC3XJLcXOX4d7g8ks5s2Ze2gaJpZM4OO5QD>
.
|
Sorry, something went wrong.
V8 options allow either '_' or '-' to be used in options as a seperator, such as "--abort-on_uncaught-exception". Allow these case variations when used with NODE_OPTIONS. PR-URL: #14093 Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: Refael Ackermann <refack@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
|
I've landed this on v6.x-staging and am going to be shipping it as semver patch @nodejs/lts please lmk if you have concerns |
Sorry, something went wrong.
V8 options allow either '_' or '-' to be used in options as a seperator, such as "--abort-on_uncaught-exception". Allow these case variations when used with NODE_OPTIONS. PR-URL: #14093 Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: Refael Ackermann <refack@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
V8 options allow either '_' or '-' to be used in options as a seperator, such as "--abort-on_uncaught-exception". Allow these case variations when used with NODE_OPTIONS. PR-URL: #14093 Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: Refael Ackermann <refack@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
| Back | FazBrowse Home | New Git URL |
V8 options allow either '_' or '-' to be used in options as a seperator,
such as "--abort-on_uncaught-exception". Allow these case variations
when used with NODE_OPTIONS.
@richardlau , re #13932 (comment)
Checklist
Affected core subsystem(s)
src