Skip to content

Commit

Permalink
remove sys dep
Browse files Browse the repository at this point in the history
  • Loading branch information
greggman committed Jan 12, 2016
1 parent 8ab6960 commit e7e2fd2
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions cli/cmds/download-file.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@
"use strict";

var Promise = require('promise');
var sys = require('sys');
var utils = require('../utils');

var downloadFile = function(args) {
Expand All @@ -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) {
Expand Down

0 comments on commit e7e2fd2

Please sign in to comment.