tc-wrapper
Advanced tools
Comparing version 1.0.3 to 1.0.4
@@ -31,3 +31,3 @@ 'use strict'; | ||
return _helpers2.default.execCmd('tc class show dev ' + this.device).then(function (stdout) { | ||
return _helpers2.default.execCmd('tc class show dev ' + this.device, [new RegExp('Cannot find device', 'i')]).then(function (stdout) { | ||
var strippedOut = stdout.trim().match(/[^\r\n]+/g) || []; | ||
@@ -34,0 +34,0 @@ |
@@ -50,3 +50,3 @@ 'use strict'; | ||
return _helpers2.default.execCmd('tc filter show dev ' + this.device).then(function (stdout) { | ||
return _helpers2.default.execCmd('tc filter show dev ' + this.device, [new RegExp('Cannot find device', 'i')]).then(function (stdout) { | ||
var strippedOut = stdout.trim().match(/[^\r\n]+/g) || []; | ||
@@ -53,0 +53,0 @@ |
@@ -31,3 +31,3 @@ 'use strict'; | ||
return _helpers2.default.execCmd('tc qdisc show dev ' + this.device).then(function (stdout) { | ||
return _helpers2.default.execCmd('tc qdisc show dev ' + this.device, [new RegExp('Cannot find device', 'i')]).then(function (stdout) { | ||
var strippedOut = stdout.trim().match(/[^\r\n]+/g) || []; | ||
@@ -34,0 +34,0 @@ |
{ | ||
"name": "tc-wrapper", | ||
"version": "1.0.3", | ||
"version": "1.0.4", | ||
"description": "NodeJS wrapper for tc command (traffic control on linux)", | ||
@@ -5,0 +5,0 @@ "author": "J. Victor Soto", |
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
37100