From 5458c3a0d34118b7687bbdbae350a4cd1e402a09 Mon Sep 17 00:00:00 2001 From: Rafa Mel Date: Mon, 6 May 2019 12:59:57 +0200 Subject: [PATCH] refactor(utils/exec): doesn't guard exec, as it is already guarded in core --- src/utils/exec.ts | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/utils/exec.ts b/src/utils/exec.ts index bb91406..8310100 100644 --- a/src/utils/exec.ts +++ b/src/utils/exec.ts @@ -5,7 +5,6 @@ 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, @@ -13,8 +12,6 @@ export default async function exec( fork: boolean, options: IExecOptions = {} ): Promise { - guardian(); - const opts: SpawnOptions = { shell: !fork, cwd: options.cwd,