Skip to content

Commit

Permalink
src: update v8_platform.StartInspector signature
Browse files Browse the repository at this point in the history
The call signature of v8_platform.StartInspector needs to be the same
whether or not NODE_USE_V8_PLATFORM, otherwise Node will fail to compile
if HAVE_INSPECTOR and !NODE_USE_V8_PLATFORM.
  • Loading branch information
mykmelez committed Jan 31, 2017
1 parent 9c95606 commit e619725
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/node.cc
Expand Up @@ -233,7 +233,7 @@ static struct {
void PumpMessageLoop(Isolate* isolate) {}
void Dispose() {}
bool StartInspector(Environment *env, const char* script_path,
int port, bool wait) {
const node::DebugOptions& options) {
env->ThrowError("Node compiled with NODE_USE_V8_PLATFORM=0");
return false; // make compiler happy
}
Expand Down

0 comments on commit e619725

Please sign in to comment.