aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorValentin Popov <info@valentineus.link>2017-10-07 15:49:32 +0300
committerValentin Popov <info@valentineus.link>2017-10-07 15:49:32 +0300
commit8adbea869e3b6542c663aab28ab101c5e7df0063 (patch)
tree156e470e4b3ffe30ca9d1551e07f5b08fd1a1221 /src
parentc6300b1e29152b9be23622114a0d30a48f0f0f8b (diff)
downloadsimple-container-8adbea869e3b6542c663aab28ab101c5e7df0063.tar.xz
simple-container-8adbea869e3b6542c663aab28ab101c5e7df0063.zip
Removing the debugger
Diffstat (limited to 'src')
-rw-r--r--src/lib/index.js13
1 files changed, 1 insertions, 12 deletions
diff --git a/src/lib/index.js b/src/lib/index.js
index 5332bb4..7ef814b 100644
--- a/src/lib/index.js
+++ b/src/lib/index.js
@@ -1,5 +1,4 @@
import { normalize } from 'path';
-import createDebug from 'debug';
import Docker from 'dockerode';
import { statSync } from 'fs';
@@ -222,7 +221,7 @@ export default class Containers {
callback(error);
}
- self._docker.modem.followProgress(stream, callback, self.debug);
+ self._docker.modem.followProgress(stream, callback);
});
}
@@ -260,14 +259,4 @@ export default class Containers {
_isObject(value) {
return typeof value === 'object';
}
-
- /**
- * @param {*} Any variables
- * @description A simple debugger.
- */
- debug() {
- var args = Array.prototype.slice.call(arguments);
- var debug = createDebug('containers');
- debug.apply(null, args);
- }
} \ No newline at end of file