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

Commit

Permalink
src: tie process.versions.uv to uv_version_string()
Browse files Browse the repository at this point in the history
  • Loading branch information
bnoordhuis committed Mar 28, 2013
1 parent 1b5ec03 commit 902d6cb
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/node.cc
Expand Up @@ -2356,9 +2356,7 @@ Handle<Object> SetupProcessObject(int argc, char *argv[]) {
versions->Set(String::NewSymbol("node"), String::New(NODE_VERSION+1));
versions->Set(String::NewSymbol("v8"), String::New(V8::GetVersion()));
versions->Set(String::NewSymbol("ares"), String::New(ARES_VERSION_STR));
versions->Set(String::NewSymbol("uv"), String::New(
NODE_STRINGIFY(UV_VERSION_MAJOR) "."
NODE_STRINGIFY(UV_VERSION_MINOR)));
versions->Set(String::NewSymbol("uv"), String::New(uv_version_string()));
versions->Set(String::NewSymbol("zlib"), String::New(ZLIB_VERSION));
#if HAVE_OPENSSL
// Stupid code to slice out the version string.
Expand Down

0 comments on commit 902d6cb

Please sign in to comment.