From e7e2fd25c5b941d9678c6cee48731a0a43990fad Mon Sep 17 00:00:00 2001 From: Gregg Tavares Date: Tue, 12 Jan 2016 14:17:24 +0800 Subject: [PATCH] remove sys dep --- cli/cmds/download-file.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/cli/cmds/download-file.js b/cli/cmds/download-file.js index 4e3227aa..f8003700 100644 --- a/cli/cmds/download-file.js +++ b/cli/cmds/download-file.js @@ -31,7 +31,6 @@ "use strict"; var Promise = require('promise'); -var sys = require('sys'); var utils = require('../utils'); var downloadFile = function(args) { @@ -55,7 +54,7 @@ var downloadFile = function(args) { var url = args._[0]; var destPath = args._[1]; var log = options.verbose ? console.log.bind(console) : function() { }; - var print = options.verbose ? sys.print.bind(sys) : function() { }; + var print = options.verbose ? console.log.bind(console) : function() { }; var emitter = require('../../management/download').downloadFile(url, destPath); emitter.on('start', function(e) {