Comparing version 2.4.0 to 2.4.1
@@ -23,3 +23,3 @@ (function() { | ||
case Protocol.OKAY: | ||
return _this.parser.searchLine(/^(Success|Failure|Failure \[(.*?)\])$/).then(function(match) { | ||
return _this.parser.searchLine(/^(Success|Failure.*)$/).then(function(match) { | ||
if (match[1] === 'Success') { | ||
@@ -26,0 +26,0 @@ return true; |
@@ -105,8 +105,9 @@ (function() { | ||
return function() { | ||
var chunk, results; | ||
results = []; | ||
var chunk; | ||
while (chunk = _this.stream.read()) { | ||
results.push(all = Buffer.concat([all, chunk])); | ||
all = Buffer.concat([all, chunk]); | ||
} | ||
return results; | ||
if (_this.ended) { | ||
return resolver.resolve(all); | ||
} | ||
}; | ||
@@ -113,0 +114,0 @@ })(this); |
{ | ||
"name": "adbkit", | ||
"version": "2.4.0", | ||
"version": "2.4.1", | ||
"description": "A pure Node.js client for the Android Debug Bridge.", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
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
4427
225298