Comparing version 1.2.0 to 1.2.1
1.2.1 / 2014-01-07 | ||
================== | ||
* increase maxBuffer | ||
1.2.0 / 2014-01-03 | ||
@@ -3,0 +8,0 @@ ================== |
18
index.js
@@ -310,3 +310,3 @@ | ||
if (!this.cloud.dry) var ret = (yield exec(cmd)).trim(); | ||
if (!this.cloud.dry) var ret = (yield this._exec(cmd)).trim(); | ||
if (!this.cloud.dry) this.stdio(ret, host); | ||
@@ -348,3 +348,3 @@ return ret; | ||
if (!this.cloud.dry) var ret = (yield exec(cmd)).trim(); | ||
if (!this.cloud.dry) var ret = (yield this._exec(cmd)).trim(); | ||
if (!this.cloud.dry) this.stdio(ret, host); | ||
@@ -355,2 +355,16 @@ return ret; | ||
/** | ||
* Execute `cmd`. | ||
* | ||
* @param {String} cmd | ||
* @return {Function} | ||
* @api private | ||
*/ | ||
Host.prototype._exec = function(cmd){ | ||
return exec(cmd, { | ||
maxBuffer: 1024 * 1024 | ||
}); | ||
}; | ||
/** | ||
* Log stdio `str`. | ||
@@ -357,0 +371,0 @@ * |
{ | ||
"name": "cloud", | ||
"version": "1.2.0", | ||
"version": "1.2.1", | ||
"repository": "segmentio/cloud", | ||
@@ -5,0 +5,0 @@ "description": "remote scripting like capistrano / fabric for managing clusters", |
@@ -178,4 +178,10 @@ | ||
### Setting context variables | ||
The `this` variable becomes a `Context` which holds all of the values | ||
defined via the `-s, --set` flag. For example `-s version=1.2.0` will | ||
provide `this.version == "1.2.0"`, and `-s debug` will set `this.debug == true`. | ||
# License | ||
MIT |
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
13775
342
186