From b21b954ca351017366b8935402beaf274af2c3a2 Mon Sep 17 00:00:00 2001 From: Ruy Adorno Date: Wed, 10 Dec 2014 19:23:08 -0500 Subject: [PATCH] Duplicate blocks should raise a warn instead of a fatal error --- tasks/usemin.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasks/usemin.js b/tasks/usemin.js index dc10b50..a49250d 100644 --- a/tasks/usemin.js +++ b/tasks/usemin.js @@ -187,7 +187,7 @@ module.exports = function (grunt) { try { config = c.process(filepath, grunt.config()); } catch (e) { - grunt.fail.fatal(e); + grunt.fail.warn(e); } _.forEach(cfgNames, function (name) {