Skip to content
Browse files

[platform] don\'t check sign of loadavg

  • Loading branch information...
1 parent 37ed5ca commit 1223edcb2b5a9567fe10ae39ee74845073b8b465 @indutny committed
Showing with 0 additions and 4 deletions.
  1. +0 −4 src/node_os.cc
View
4 src/node_os.cc
@@ -153,10 +153,6 @@ static Handle<Value> GetLoadAvg(const Arguments& args) {
double loadavg[3];
uv_loadavg(loadavg);
- if (loadavg[0] < 0) {
- return Undefined();
- }
-
Local<Array> loads = Array::New(3);
loads->Set(0, Number::New(loadavg[0]));
loads->Set(1, Number::New(loadavg[1]));

0 comments on commit 1223edc

Please sign in to comment.
Something went wrong with that request. Please try again.