Skip to content

Commit

Permalink
fix(log): moved npm path console log into debug mode
Browse files Browse the repository at this point in the history
  • Loading branch information
bahmutov committed Aug 17, 2016
1 parent fe46da6 commit 96063f5
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/npm-test.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
'use strict';

var debug = require('debug')('next-update');
var check = require('check-more-types');
var spawn = require('child_process').spawn;
var q = require('q');
Expand All @@ -11,7 +14,7 @@ function findNpmPath() {
}

var NPM_PATH = findNpmPath();
console.log('found npm path %s', NPM_PATH);
debug('found npm path %s', NPM_PATH);

function argsToString(arrayLike) {
return Array.prototype.slice.call(arrayLike, 0).join(' ');
Expand Down

0 comments on commit 96063f5

Please sign in to comment.