Remove dependency, ignore package-lock.json

v1.18.x
Peter Jaszkowiak 8 years ago
parent 44e55d2a98
commit 9a3b684228

1
.gitignore vendored

@ -63,3 +63,4 @@ build
*.log *.log
test/files/normalise.jpg.png test/files/normalise.jpg.png
test/files/normalise-resized.jpg test/files/normalise-resized.jpg
package-lock.json

@ -46,7 +46,6 @@
"json-2-csv": "^2.0.22", "json-2-csv": "^2.0.22",
"less": "^2.0.0", "less": "^2.0.0",
"lodash": "^4.17.4", "lodash": "^4.17.4",
"lodash.padstart": "^4.6.1",
"logrotate-stream": "^0.2.3", "logrotate-stream": "^0.2.3",
"lru-cache": "4.0.2", "lru-cache": "4.0.2",
"mime": "^1.3.4", "mime": "^1.3.4",

@ -3,7 +3,7 @@
var async = require('async'); var async = require('async');
var winston = require('winston'); var winston = require('winston');
var nconf = require('nconf'); var nconf = require('nconf');
var padstart = require('lodash.padstart'); var _ = require('lodash');
var cacheBuster = require('./cacheBuster'); var cacheBuster = require('./cacheBuster');
var meta; var meta;
@ -122,7 +122,7 @@ function buildTargets(targets, parallel, callback) {
})); }));
all(targets, function (target, next) { all(targets, function (target, next) {
targetHandlers[target](parallel, step(padstart(target, length) + ' ', next)); targetHandlers[target](parallel, step(_.padStart(target, length) + ' ', next));
}, callback); }, callback);
} }

Loading…
Cancel
Save