Skip to content
This repository was archived by the owner on Apr 20, 2018. It is now read-only.

Commit 969b295

Browse files
committed
Merge pull request #496 from ruyadorno/fix-duplicate-configs
Duplicate blocks should raise a warn instead of a fatal error
2 parents 43233fb + b21b954 commit 969b295

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tasks/usemin.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ module.exports = function (grunt) {
187187
try {
188188
config = c.process(filepath, grunt.config());
189189
} catch (e) {
190-
grunt.fail.fatal(e);
190+
grunt.fail.warn(e);
191191
}
192192

193193
_.forEach(cfgNames, function (name) {

0 commit comments

Comments
 (0)