auditted lodash usage to ensure that it is compatible with lodash 3.0
This commit is contained in:
@ -163,7 +163,7 @@ function clearGeneratedFiles() {
|
||||
generatedFiles.push(dirRegex(paths.src, esArchives));
|
||||
|
||||
var rmSteps = _.chain(generatedFiles)
|
||||
.flatten()
|
||||
.flattenDeep()
|
||||
.uniq()
|
||||
.map(function (path) {
|
||||
return spawnStep('rm', ['-rf', path]);
|
||||
|
||||
@ -108,7 +108,6 @@ fs.readdirSync(path.resolve(__dirname)).forEach(function (filename) {
|
||||
if (name !== 'index') {
|
||||
templates[name] = _.template(
|
||||
fs.readFileSync(path.resolve(__dirname, filename), 'utf8'),
|
||||
null,
|
||||
{
|
||||
imports: templateGlobals
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user