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 jasnell committed Oct 7, 2016
1 parent 23b9625 commit ae9d146
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 Original file line Diff line number Diff line change
Expand Up @@ -70,15 +70,15 @@
NativeModule.require('_third_party_main'); NativeModule.require('_third_party_main');
}); });


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


} else if (process.argv[1] == '--remote_debugging_server') { } else if (process.argv[1] === '--remote_debugging_server') {
// Start the debugging server // Start the debugging server
NativeModule.require('internal/inspector/remote_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 // Start the debugger agent
NativeModule.require('_debug_agent').start(); NativeModule.require('_debug_agent').start();


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


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


Expand Down

0 comments on commit ae9d146

Please sign in to comment.