Skip to content

Commit

Permalink
Export interfaces to aid extension (#10547)
Browse files Browse the repository at this point in the history
Exports two local interfaces in process-task-runner.ts
  • Loading branch information
colin-grant-work authored Dec 15, 2021
1 parent 9d0e1d3 commit 6175dfa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/task/src/node/process/process-task-runner.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,13 +40,13 @@ import { ProcessTaskError, CommandOptions } from '../../common/process/task-prot
import * as fs from 'fs';
import { ShellProcess } from '@theia/terminal/lib/node/shell-process';

interface OsSpecificCommand {
export interface OsSpecificCommand {
command: string,
args: Array<string | ShellQuotedString> | undefined,
options: CommandOptions
}

interface ShellSpecificOptions {
export interface ShellSpecificOptions {
/** Arguments passed to the shell, aka `command` here. */
execArgs: string[];
/** Pack of functions used to escape the `subCommand` and `subArgs` to run in the shell. */
Expand Down

0 comments on commit 6175dfa

Please sign in to comment.