Skip to content

Commit

Permalink
deps: remove barely used debug dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
rmg committed Sep 6, 2017
1 parent f3e6232 commit 2870933
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 7 deletions.
4 changes: 0 additions & 4 deletions lib/license.js
Expand Up @@ -9,7 +9,6 @@ var Promise = require('bluebird');
var _ = require('lodash');
var assert = require('assert');
var copyright = require('./copyright');
var debug = require('debug')('strong-tools:fix-license');
var fs = require('fs');
var git = require('./git');
var json = require('json-file-plus');
Expand All @@ -31,7 +30,6 @@ exports.cli = fixCli;

function fixCli(pkgPath) {
pkgPath = pkgPath || 'package.json';
debug(pkgPath);
var setLicense = pkgPath.match(/^--(.*)/);
if (setLicense) {
pkgPath = 'package.json';
Expand Down Expand Up @@ -88,8 +86,6 @@ function fixCli(pkgPath) {
process.exit(1);
}

debug('license: %j', license);

// License object
switch (license.name) {
case 'StrongLoop': // OBSOLETE
Expand Down
2 changes: 0 additions & 2 deletions lib/shrinkwrap.js
Expand Up @@ -6,7 +6,6 @@
'use strict';

var _ = require('lodash');
var debug = require('debug')('strong-tools:fix-license');
var json = require('json-file-plus');
var path = require('path');

Expand All @@ -15,7 +14,6 @@ exports.cli = updateShrinkwrap;

function updateShrinkwrap(shrinkwrap) {
shrinkwrap = path.resolve(shrinkwrap || 'npm-shrinkwrap.json');
debug(shrinkwrap);

return json(shrinkwrap).then(rewrite).then(function() {
updateShrinkwrap.out('removed resolution URLs from %s', shrinkwrap);
Expand Down
1 change: 0 additions & 1 deletion package.json
Expand Up @@ -25,7 +25,6 @@
"homepage": "https://github.com/strongloop/strong-tools",
"dependencies": {
"bluebird": "^3.1.1",
"debug": "^2.2.0",
"gift": "^0.10.0",
"glob": "^7.0.3",
"json-file-plus": "^3.0.1",
Expand Down

0 comments on commit 2870933

Please sign in to comment.