Skip to content

Commit a1925a7

Browse files
rmejaFishrock123
authored andcommitted
lib: minor improvements to bootstrap_node.js
Change '==' to '===' PR-URL: #8906 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Brian White <mscdex@mscdex.net>
1 parent 2fad4d2 commit a1925a7

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

lib/internal/bootstrap_node.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -82,15 +82,15 @@
8282
NativeModule.require('_third_party_main');
8383
});
8484

85-
} else if (process.argv[1] == 'debug') {
85+
} else if (process.argv[1] === 'debug') {
8686
// Start the debugger agent
8787
NativeModule.require('_debugger').start();
8888

89-
} else if (process.argv[1] == '--remote_debugging_server') {
89+
} else if (process.argv[1] === '--remote_debugging_server') {
9090
// Start the debugging server
9191
NativeModule.require('internal/inspector/remote_debugging_server');
9292

93-
} else if (process.argv[1] == '--debug-agent') {
93+
} else if (process.argv[1] === '--debug-agent') {
9494
// Start the debugger agent
9595
NativeModule.require('_debug_agent').start();
9696

@@ -417,7 +417,7 @@
417417
NativeModule._cache = {};
418418

419419
NativeModule.require = function(id) {
420-
if (id == 'native_module') {
420+
if (id === 'native_module') {
421421
return NativeModule;
422422
}
423423

0 commit comments

Comments
 (0)