Procházet zdrojové kódy

Fixed a wrong check in the task tools.

fredck před 11 roky
rodič
revize
8ca2b1b2f4

+ 1 - 1
packages/ckeditor5-engine/dev/tasks/res/tools.js

@@ -17,7 +17,7 @@ module.exports = {
 			// Hacking grunt hard.
 			isTaskInDefault = isDefaultTask && ( grunt.task._tasks.default.info.indexOf( '"' + task + '"' ) > -1 );
 
-		return isDirectCall || isDefaultTask;
+		return isDirectCall || isTaskInDefault;
 	},
 
 	setupMultitaskConfig: function( grunt, options ) {