src: simplify DEP0062 logic · nodejs/node@c432ab1 · GitHub
Skip to content

Commit c432ab1

Browse files
cjihrigtargos
authored andcommitted
src: simplify DEP0062 logic
This commit simplifies the DEP0062 error logic. Instead of looking for certain combinations of flags, just show an error for any usage of --debug or --debug-brk. PR-URL: #28589 Fixes: #28588 Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com>
1 parent 608d6ed commit c432ab1

2 files changed

Lines changed: 3 additions & 8 deletions

File tree

src/node_options.cc

Lines changed: 2 additions & 7 deletions

test/sequential/test-inspector-invalid-args.js

Lines changed: 1 addition & 1 deletion

0 commit comments

Comments
 (0)