Skip to content

Commit

Permalink
lib: minor improvements to bootstrap_node.js
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
rmeja authored and Fishrock123 committed Oct 11, 2016
1 parent 2fad4d2 commit a1925a7
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions lib/internal/bootstrap_node.js
Original file line number Diff line number Diff line change
Expand Up @@ -82,15 +82,15 @@
NativeModule.require('_third_party_main');
});

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

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

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

Expand Down Expand Up @@ -417,7 +417,7 @@
NativeModule._cache = {};

NativeModule.require = function(id) {
if (id == 'native_module') {
if (id === 'native_module') {
return NativeModule;
}

Expand Down

0 comments on commit a1925a7

Please sign in to comment.