UNPKG

697 BTypeScriptView Raw
1import { CodeTransform } from "../../../api/registration/CodeTransform";
2import { ProgressLog } from "../../../spi/log/ProgressLog";
3import { SpawnLogInvocation } from "../../misc/child_process";
4/**
5 * Create a code transform by wrapping child processes run in the
6 * project directory. If a command fails, no further commands will be
7 * run and its error will be returned.
8 *
9 * @param commands array of commands to execute
10 * @param log where to log output from commands
11 * @return result of commands, success or the first failure
12 */
13export declare function spawnCodeTransform(commands: SpawnLogInvocation[], log?: ProgressLog): CodeTransform;
14//# sourceMappingURL=spawnCodeTransform.d.ts.map
\No newline at end of file