Skip to content
This repository has been archived by the owner on Apr 22, 2023. It is now read-only.

Commit

Permalink
Fix process.platform
Browse files Browse the repository at this point in the history
  • Loading branch information
ry committed Jan 6, 2011
1 parent bb7bf58 commit 3770462
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/node.cc
Expand Up @@ -1684,7 +1684,7 @@ static void Load(int argc, char *argv[]) {


// process.platform
process->Set(String::NewSymbol("platform"), String::New("PLATFORM"));
process->Set(String::NewSymbol("platform"), String::New(PLATFORM));

// process.argv
Local<Array> arguments = Array::New(argc - option_end_index + 1);
Expand Down

0 comments on commit 3770462

Please sign in to comment.