Skip to content

Commit 2ee1850

Browse files
authored
Merge pull request #40 from bartlomieju/deno_v038
bump Deno to v0.3.8
2 parents a42cc8f + 6947e1b commit 2ee1850

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

.travis.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
language: generic
22

33
install:
4-
- curl -fsSL https://deno.land/x/install/install.sh | sh -s v0.3.3
4+
- curl -fsSL https://deno.land/x/install/install.sh | sh -s v0.3.8
55
- export PATH="$HOME/.deno/bin:$PATH"
66

77
services:
@@ -11,6 +11,5 @@ before_script:
1111
- psql -f tests/before_script.sql -U postgres
1212

1313
script:
14-
- deno test.ts --allow-net --allow-env
15-
# TODO(bartlomieju): this fails...
16-
# - deno format.ts --allow-run --check
14+
- deno --allow-net --allow-env test.ts
15+
- deno --allow-run format.ts --check

format.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { parse } from "https://deno.land/x/flags/mod.ts";
44
const { exit, args, run } = Deno;
55

66
async function main(opts) {
7-
const args = ["deno", "--allow-run", "--fmt", "--ignore", "lib"];
7+
const args = ["deno", "fmt", "--", "--ignore", "lib"];
88

99
if (opts.check) {
1010
args.push("--check");

0 commit comments

Comments
 (0)