diff options
Diffstat (limited to 'std/prettier/util.ts')
-rw-r--r-- | std/prettier/util.ts | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/std/prettier/util.ts b/std/prettier/util.ts deleted file mode 100644 index 0d3b01252..000000000 --- a/std/prettier/util.ts +++ /dev/null @@ -1,10 +0,0 @@ -// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. -const { build, run } = Deno; - -// Runs a command in cross-platform way -export function xrun(opts: Deno.RunOptions): Deno.Process { - return run({ - ...opts, - args: build.os === "win" ? ["cmd.exe", "/c", ...opts.args] : opts.args - }); -} |