diff options
| author | Egor Tensin <egor@tensin.name> | 2025-12-16 16:49:47 +0100 |
|---|---|---|
| committer | Egor Tensin <egor@tensin.name> | 2025-12-16 16:49:47 +0100 |
| commit | 1d134f39e7ded438b1de12160f6ec7f99eafb8f7 (patch) | |
| tree | d277bd11747332b962c109b419f95ede150fb6a9 /node_modules/@actions/exec/lib/toolrunner.d.ts | |
| parent | workflows/test: upgrade actions (diff) | |
| download | cleanup-path-1d134f39e7ded438b1de12160f6ec7f99eafb8f7.tar.gz cleanup-path-1d134f39e7ded438b1de12160f6ec7f99eafb8f7.zip | |
bump dependencies
Diffstat (limited to '')
| -rw-r--r-- | node_modules/@actions/exec/lib/toolrunner.d.ts | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/node_modules/@actions/exec/lib/toolrunner.d.ts b/node_modules/@actions/exec/lib/toolrunner.d.ts new file mode 100644 index 0000000..9bbbb1e --- /dev/null +++ b/node_modules/@actions/exec/lib/toolrunner.d.ts @@ -0,0 +1,37 @@ +/// <reference types="node" /> +import * as events from 'events'; +import * as im from './interfaces'; +export declare class ToolRunner extends events.EventEmitter { + constructor(toolPath: string, args?: string[], options?: im.ExecOptions); + private toolPath; + private args; + private options; + private _debug; + private _getCommandString; + private _processLineBuffer; + private _getSpawnFileName; + private _getSpawnArgs; + private _endsWith; + private _isCmdFile; + private _windowsQuoteCmdArg; + private _uvQuoteCmdArg; + private _cloneExecOptions; + private _getSpawnOptions; + /** + * Exec a tool. + * Output will be streamed to the live console. + * Returns promise with return code + * + * @param tool path to tool to exec + * @param options optional exec options. See ExecOptions + * @returns number + */ + exec(): Promise<number>; +} +/** + * Convert an arg string to an array of args. Handles escaping + * + * @param argString string of arguments + * @returns string[] array of arguments + */ +export declare function argStringToArray(argString: string): string[]; |
