auditted lodash usage to ensure that it is compatible with lodash 3.0

This commit is contained in:
Spencer Alger
2015-03-17 13:47:44 -07:00
parent ed26798e5e
commit ec6b0fcefc
10 changed files with 26 additions and 18 deletions

View File

@ -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]);

View File

@ -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
}