Permalink
Cannot retrieve contributors at this time
37 lines (37 sloc)
1.13 KB
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
codeql-action/node_modules/@actions/exec/lib/toolrunner.d.ts
Go to fileThis commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/// <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[]; |