Skip to content

Commit

Permalink
fix(cpu): fix COPY_PASTE_ERROR
Browse files Browse the repository at this point in the history
  • Loading branch information
huangyoukun committed Jul 4, 2018
1 parent d559b85 commit efc566e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bin/tsw/util/cpu.js
Original file line number Diff line number Diff line change
Expand Up @@ -218,12 +218,12 @@ this.getCpuLoadAsync = function() {
timeout: 5000
}, function(err, data, errData) {
if (err) {
logger.error(err.stack);
logger.error(err);
return resolve(null);
}

if (errData) {
logger.error(err.stack);
logger.error(errData);
return resolve(null);
}

Expand Down

0 comments on commit efc566e

Please sign in to comment.