Skip to content

Commit 9cb096f

Browse files
committed
ISpawnOptions.cmd is optional
These options are perfectly valid but will cause a ts build to fail: grunt.util.spawn({grunt: true, args: ['"mytask"]});
1 parent 715df76 commit 9cb096f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gruntjs/gruntjs.d.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1172,7 +1172,7 @@ declare module grunt {
11721172
/**
11731173
* The command to execute. It should be in the system path.
11741174
*/
1175-
cmd: string
1175+
cmd?: string
11761176

11771177
/**
11781178
* If specified, the same grunt bin that is currently running will be

0 commit comments

Comments
 (0)