Comparing version 1.0.7 to 1.0.8
@@ -154,3 +154,3 @@ var os = require('os') | ||
if(!stdout || code !== 0) { | ||
var error = util.format('%s Wmic errored, please open an issue on https://github.com/soyuka/pidusage with this message.%s', new Date().toString(), os.EOL) | ||
var error = format('%s Wmic errored, please open an issue on https://github.com/soyuka/pidusage with this message.%s', new Date().toString(), os.EOL) | ||
error += format('Command was "wmic %s"%s', args, os.EOL) | ||
@@ -157,0 +157,0 @@ stderr = error + (stderr ? format('Wmic reported the following error: %s.', stderr) : 'Wmic reported no errors.') |
{ | ||
"name": "pidusage", | ||
"version": "1.0.7", | ||
"version": "1.0.8", | ||
"description": "Cross-platform process cpu % and memory usage of a PID — Edit", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -57,3 +57,4 @@ var pusage = require('../') | ||
return cb(true) | ||
else if(stat.memory > 209715200) { | ||
// else if(stat.memory > 209715200) { | ||
else if(stat.memory > 5e8) { | ||
console.log("That's enough right?") | ||
@@ -60,0 +61,0 @@ cb(true) |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
24679
437