summaryrefslogtreecommitdiff
path: root/std/prettier/util.ts
diff options
context:
space:
mode:
authorBartek IwaƄczuk <biwanczuk@gmail.com>2020-01-30 03:16:48 +0100
committerGitHub <noreply@github.com>2020-01-29 21:16:48 -0500
commit73a3cc21d0e7ceec1275078db125f57ce97725fb (patch)
tree17d845d5d125d3ba8ecefa49e57e02e9c088c68b /std/prettier/util.ts
parentf0a6062012c4e09553877c9feedb3fbc3d4625b9 (diff)
feat: dprint formatter (#3820)
* rewrite fmt_test in Rust, remove tools/fmt_test.py * remove //std/prettier
Diffstat (limited to 'std/prettier/util.ts')
-rw-r--r--std/prettier/util.ts10
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
- });
-}