We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f3515b7 commit bc9945aCopy full SHA for bc9945a
grunt.js
@@ -278,12 +278,14 @@ module.exports = function( grunt ) {
278
this.file.src.forEach(function( filepath ) {
279
var flag = filepath.flag,
280
specified = false,
281
+ omit = false,
282
message = "";
283
284
if ( flag ) {
285
if ( excluded[ flag ] !== undefined ) {
286
message = ( "Excluding " + flag ).red;
287
specified = true;
288
+ omit = true;
289
} else {
290
message = ( "Including " + flag ).green;
291
@@ -310,7 +312,9 @@ module.exports = function( grunt ) {
310
312
filepath = filepath.src;
311
313
}
314
- compiled += file.read( filepath );
315
+ if ( !omit ) {
316
+ compiled += file.read( filepath );
317
+ }
318
});
319
320
// Embed Date
0 commit comments