ISpawnOptions.cmd is optional

These options are perfectly valid but will cause a ts build to fail: grunt.util.spawn({grunt: true, args: ['"mytask"]});
This commit is contained in:
Tim Schubert
2015-12-03 11:00:59 +11:00
parent 715df76441
commit 9cb096f5de
+1 -1
View File
@@ -1172,7 +1172,7 @@ declare module grunt {
/**
* The command to execute. It should be in the system path.
*/
cmd: string
cmd?: string
/**
* If specified, the same grunt bin that is currently running will be