diff options
author | Bartek IwaĆczuk <biwanczuk@gmail.com> | 2019-08-14 02:03:29 +0200 |
---|---|---|
committer | Ryan Dahl <ry@tinyclouds.org> | 2019-08-13 20:03:29 -0400 |
commit | 63bbe2a2e041388ec167d67c73f497ea7b8590c6 (patch) | |
tree | 70bf7ba57ace4e03d8c46b095afa23edcf17bf74 /format.ts | |
parent | 50fdccb17549eae05be2a68163f6e739cdf82b53 (diff) |
ci: bump to v0.15.0 (denoland/deno_std#556)
Original: https://github.com/denoland/deno_std/commit/f3ddb4f26b81b4fbed86f4b54db7b3e7e3b7fe4e
Diffstat (limited to 'format.ts')
-rwxr-xr-x | format.ts | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -1,4 +1,4 @@ -#!/usr/bin/env -S deno run --allow-run --allow-write --allow-read +#!/usr/bin/env -S deno run --allow-run --allow-write --allow-read --allow-env // Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. const { exit, args, execPath } = Deno; import { parse } from "./flags/mod.ts"; @@ -6,7 +6,7 @@ import { xrun } from "./prettier/util.ts"; async function main(opts): Promise<void> { const args = [ - execPath, + execPath(), "run", "--allow-write", "--allow-read", @@ -24,6 +24,8 @@ async function main(opts): Promise<void> { args.push("--check"); } + args.push("."); + exit((await xrun({ args }).status()).code); } |