summaryrefslogtreecommitdiff
path: root/lib/sys.js
diff options
context:
space:
mode:
Diffstat (limited to 'lib/sys.js')
-rw-r--r--lib/sys.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/sys.js b/lib/sys.js
index ca97a88495..e8985d25fa 100644
--- a/lib/sys.js
+++ b/lib/sys.js
@@ -315,7 +315,7 @@ exports.log = function (msg) {
var execWarning;
exports.exec = function () {
if (!execWarning) {
- execWarning = 'sys.exec has moved to the "child_process" module. Please update your source code.'
+ execWarning = 'sys.exec has moved to the "child_process" module. Please update your source code.';
error(execWarning);
}
return require('child_process').exec.apply(this, arguments);
@@ -332,8 +332,8 @@ exports.pump = function (readStream, writeStream, callback) {
}
}
- if (!readStream.pause) readStream.pause = function () {readStream.emit("pause")};
- if (!readStream.resume) readStream.resume = function () {readStream.emit("resume")};
+ if (!readStream.pause) readStream.pause = function () {readStream.emit("pause");};
+ if (!readStream.resume) readStream.resume = function () {readStream.emit("resume");};
readStream.addListener("data", function (chunk) {
if (writeStream.write(chunk) === false) readStream.pause();