From 8adbea869e3b6542c663aab28ab101c5e7df0063 Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Sat, 7 Oct 2017 16:49:32 +0400 Subject: Removing the debugger --- src/lib/index.js | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) (limited to 'src') 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 -- cgit v1.2.3