@@ -382,8 +382,8 @@ run('echo \{{not_replaced}}'); // outputs: {{not_replaced}}
382382| ` $cwd ` | ` string ` or ` null ` | Working directory for this run. Defaults to ` {{working_path}} ` (set by ` cd() ` ). |
383383| ` $timeout ` | ` int ` or ` null ` | Max runtime in seconds (default: ` {{default_timeout}} ` , 300; ` null ` disables). |
384384| ` $idleTimeout ` | ` int ` or ` null ` | Max seconds without output before aborting. |
385- | ` $secrets ` | ` array ` or ` null ` | Map of ` %name% ` placeholders to redacted values. |
386- | ` $env ` | ` array ` or ` null ` | Environment variables: ` run('echo $KEY', env: ['KEY' => 'value']); ` |
385+ | ` $secrets ` | ` array<string, scalar> ` or ` null ` | Map of ` %name% ` placeholders to redacted values. |
386+ | ` $env ` | ` array<string, scalar> ` or ` null ` | Environment variables: ` run('echo $KEY', env: ['KEY' => 'value']); ` |
387387| ` $forceOutput ` | ` bool ` or ` null ` | Print command output in real time. |
388388| ` $nothrow ` | ` bool ` or ` null ` | Return output instead of throwing on non-zero exit. |
389389
@@ -420,8 +420,8 @@ runLocally('npm run build', timeout: 600);
420420| ` $cwd ` | ` string ` or ` null ` | Working directory for this run. Defaults to ` {{working_path}} ` . |
421421| ` $timeout ` | ` int ` or ` null ` | Max runtime in seconds (default 300, ` null ` disables). |
422422| ` $idleTimeout ` | ` int ` or ` null ` | Max seconds without output before aborting. |
423- | ` $secrets ` | ` array ` or ` null ` | Map of ` %name% ` placeholders to redacted values. |
424- | ` $env ` | ` array ` or ` null ` | Environment variables: ` runLocally('echo $KEY', env: ['KEY' => 'value']); ` |
423+ | ` $secrets ` | ` array<string, scalar> ` or ` null ` | Map of ` %name% ` placeholders to redacted values. |
424+ | ` $env ` | ` array<string, scalar> ` or ` null ` | Environment variables: ` runLocally('echo $KEY', env: ['KEY' => 'value']); ` |
425425| ` $forceOutput ` | ` bool ` or ` null ` | Print command output in real time. |
426426| ` $nothrow ` | ` bool ` or ` null ` | Return output instead of throwing on non-zero exit. |
427427| ` $shell ` | ` string ` or ` null ` | Shell to run in. Default ` bash -s ` . |
0 commit comments