Skip to content

Commit

Permalink
fixup! refactor: enable strict-boolean-expressions globally
Browse files Browse the repository at this point in the history
Co-authored-by: Cristiano Aguzzi <[email protected]>
  • Loading branch information
JKRhb and relu91 committed Oct 19, 2023
1 parent a3268dd commit b62e3fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/cli/src/cli.ts
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,7 @@ const runScripts = async function (servient: DefaultServient, scripts: Array<str
// eslint-disable-next-line @typescript-eslint/no-var-requires
if (debug && debug.shouldBreak) {
// Activate inspector only if is not already opened and wait for the debugger to attach
inspector.url() != null && inspector.open(debug.port, debug.host, true);
inspector.url() == null && inspector.open(debug.port, debug.host, true);

// Set a breakpoint at the first line of of first script
// the breakpoint gives time to inspector clients to set their breakpoints
Expand Down

0 comments on commit b62e3fd

Please sign in to comment.