Permalink
Browse files

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>
  • Loading branch information...
rmeja authored and jasnell committed Oct 3, 2016
1 parent 23b9625 commit ae9d146331c2bec47fe4c947fcdf4e7da39e6a9b
Showing with 4 additions and 4 deletions.
  1. +4 −4 lib/internal/bootstrap_node.js
@@ -70,15 +70,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();
@@ -405,7 +405,7 @@
NativeModule._cache = {};
NativeModule.require = function(id) {
if (id == 'native_module') {
if (id === 'native_module') {
return NativeModule;
}

0 comments on commit ae9d146

Please sign in to comment.