From c475e4af8484b63ed13c7897dd76f82041b56a82 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9mie=20Drouet?= Date: Mon, 18 Jan 2016 13:29:46 +0100 Subject: [PATCH] Fix lodash 4.0.0 breaking changes --- lib/compiler.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/compiler.js b/lib/compiler.js index b28bb20..43661cf 100644 --- a/lib/compiler.js +++ b/lib/compiler.js @@ -713,7 +713,7 @@ function buildAllMixinInstructions(appRootDir, mixinDirs, mixinSources, options, // Fetch unique list of mixin names, used in models var modelMixins = fetchMixinNamesUsedInModelInstructions(modelInstructions); - modelMixins = _.unique(modelMixins); + modelMixins = _.uniq(modelMixins); // Filter-in only mixins, that are used in models instructionsFromMixinSources = filterMixinInstructionsUsingWhitelist(