Skip to content

Commit 09d7eaf

Browse files
committed
Build: Add back the error for an attempted selector exclusion
1 parent 74b3e0b commit 09d7eaf

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

build/tasks/build.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -171,6 +171,12 @@ module.exports = function( grunt ) {
171171
}
172172
} else {
173173
grunt.log.error( "Module \"" + module + "\" is a minimum requirement." );
174+
if ( module === "selector" ) {
175+
grunt.log.error(
176+
"If you meant to replace the full selector module, " +
177+
"use `-selector-full` instead."
178+
);
179+
}
174180
}
175181
} else {
176182
grunt.log.writeln( flag );

0 commit comments

Comments
 (0)