diff options
| author | Yoshiya Hinosawa <stibium121@gmail.com> | 2019-04-08 09:30:45 +0900 |
|---|---|---|
| committer | Ryan Dahl <ry@tinyclouds.org> | 2019-04-07 20:30:45 -0400 |
| commit | 985386228b608c1a4d05e4a597ce3f03c6a696a0 (patch) | |
| tree | bf3ef92950c4ede7b5b0f3345f51c404d93f9a53 | |
| parent | 955a9bc13e0a418060bcf43c4c98438bb94a9c11 (diff) | |
refactor: update for flag change in the next version (denoland/deno_std#327)
Original: https://github.com/denoland/deno_std/commit/b6c7291181348fa2b2ca2f415875c864ad05824d
| -rw-r--r-- | azure-pipelines.yml | 12 | ||||
| -rw-r--r-- | examples/README.md | 2 | ||||
| -rw-r--r-- | http/README.md | 2 |
3 files changed, 8 insertions, 8 deletions
diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 240148699..262061005 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -13,8 +13,8 @@ jobs: - script: curl -L https://deno.land/x/install/install.sh | sh -s $(DENO_VERSION) - script: echo '##vso[task.prependpath]$(HOME)/.deno/bin/' - script: npx eslint **/*.ts - - script: deno format.ts --allow-run --allow-write --allow-read --check - - script: deno test.ts --allow-run --allow-net --allow-write --allow-read + - script: deno --allow-run --allow-write --allow-read format.ts --check + - script: deno --allow-run --allow-net --allow-write --allow-read test.ts - job: "Mac" pool: @@ -24,8 +24,8 @@ jobs: - script: curl -L https://deno.land/x/install/install.sh | sh -s $(DENO_VERSION) - script: echo '##vso[task.prependpath]$(HOME)/.deno/bin/' - script: eslint **/*.ts - - script: deno format.ts --allow-run --allow-write --allow-read --check - - script: deno test.ts --allow-run --allow-net --allow-write --allow-read + - script: deno --allow-run --allow-write --allow-read format.ts --check + - script: deno --allow-run --allow-net --allow-write --allow-read test.ts - job: "Windows" pool: @@ -35,5 +35,5 @@ jobs: - powershell: iwr https://deno.land/x/install/install.ps1 -out install.ps1; .\install.ps1 $(DENO_VERSION) - bash: echo "##vso[task.prependpath]C:\Users\VssAdministrator\.deno\\bin" - bash: npx eslint **/*.ts - - bash: deno.exe format.ts --allow-run --allow-write --allow-read --check - - bash: deno.exe test.ts --allow-run --allow-net --allow-write --allow-read + - bash: deno.exe --allow-run --allow-write --allow-read format.ts --check + - bash: deno.exe --allow-run --allow-net --allow-write --allow-read test.ts diff --git a/examples/README.md b/examples/README.md index 7f828093a..c4def7b7c 100644 --- a/examples/README.md +++ b/examples/README.md @@ -14,5 +14,5 @@ Add this to your `.bash_profile` ``` export GIST_TOKEN=ABC # Generate at https://github.com/settings/tokens -alias gist="deno https://deno.land/std/examples/gist.ts --allow-net --allow-env" +alias gist="deno --allow-net --allow-env https://deno.land/std/examples/gist.ts" ``` diff --git a/http/README.md b/http/README.md index f59685bb4..448692a68 100644 --- a/http/README.md +++ b/http/README.md @@ -24,5 +24,5 @@ A small program for serving local files over HTTP. Add the following to your `.bash_profile` ``` -alias file_server="deno https://deno.land/std/http/file_server.ts --allow-net" +alias file_server="deno --allow-net https://deno.land/std/http/file_server.ts" ``` |
