Skip to content

Commit

Permalink
refactor(utils/exec): doesn't guard exec, as it is already guarded in…
Browse files Browse the repository at this point in the history
… core
  • Loading branch information
rafamel committed May 6, 2019
1 parent b1e8f44 commit 5458c3a
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/utils/exec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,13 @@ import join from 'command-join';
import { IExecOptions } from '~/types';
import { spawn } from 'exits';
import errors from './errors';
import guardian from './guardian';

export default async function exec(
cmd: string,
args: string[],
fork: boolean,
options: IExecOptions = {}
): Promise<void> {
guardian();

const opts: SpawnOptions = {
shell: !fork,
cwd: options.cwd,
Expand Down

0 comments on commit 5458c3a

Please sign in to comment.