Skip to content

Commit

Permalink
Merge pull request #72 from SamYuan1990/TapeLogger
Browse files Browse the repository at this point in the history
resolve for #45
  • Loading branch information
SamYuan1990 committed Jan 26, 2021
2 parents 94d1330 + 490e9b7 commit e785273
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/libs.js
Expand Up @@ -121,6 +121,7 @@ exports.executeCommand = function executeCommand(command) {
};

exports.TapeTpsFilter = function TapeTpsFilter(rs) {
logger.info(rs.output.toString('utf-8'));
let str = rs.output.toString('utf-8', 0);
str = str.substring(str.indexOf('tps:'));
str = str.substring(0, str.indexOf('\n'));
Expand Down

0 comments on commit e785273

Please sign in to comment.