Skip to content

Commit

Permalink
Update deno.land links v0.11 (denoland#2628)
Browse files Browse the repository at this point in the history
  • Loading branch information
ry committed Jul 9, 2019
1 parent 953a5a3 commit d7fa8c3
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions cli/flags.rs
Expand Up @@ -239,7 +239,7 @@ The declaration file could be saved and used for typing information.",
.about("Show source file related info")
.long_about("Show source file related info.
deno info https://deno.land/std@v0.6/http/file_server.ts
deno info https://deno.land/std@v0.11/http/file_server.ts
The following information is shown:
Expand Down Expand Up @@ -608,9 +608,9 @@ fn parse_script_args(
}

/// Used for `deno fmt <files>...` subcommand
const PRETTIER_URL: &str = "https://deno.land/std@v0.7.0/prettier/main.ts";
const PRETTIER_URL: &str = "https://deno.land/std@v0.11/prettier/main.ts";
/// Used for `deno install...` subcommand
const INSTALLER_URL: &str = "https://deno.land/std@b13441f/installer/mod.ts";
const INSTALLER_URL: &str = "https://deno.land/std@v0.11/installer/mod.ts";

/// These are currently handled subcommands.
/// There is no "Help" subcommand because it's handled by `clap::App` itself.
Expand Down
2 changes: 1 addition & 1 deletion website/index.html
Expand Up @@ -113,7 +113,7 @@ <h2 id="example">Example <a href="#example">#</a></h2>

<p>Or a more complex one:</p>

<pre><code class="typescript language-typescript">import { serve } from "https://deno.land/std@v0.5/http/server.ts";
<pre><code class="typescript language-typescript">import { serve } from "https://deno.land/std@v0.11/http/server.ts";

async function main() {
const body = new TextEncoder().encode("Hello World\n");
Expand Down
4 changes: 2 additions & 2 deletions website/style_guide.md
Expand Up @@ -289,8 +289,8 @@ test myTestFunction ... ok
Example of test:

```ts
import { assertEquals } from "https://deno.land/std@v0.5/testing/asserts.ts";
import { test } from "https://deno.land/std@v0.5/testing/mod.ts";
import { assertEquals } from "https://deno.land/std@v0.11/testing/asserts.ts";
import { test } from "https://deno.land/std@v0.11/testing/mod.ts";
import { foo } from "./mod.ts";

test(function myTestFunction() {
Expand Down

0 comments on commit d7fa8c3

Please sign in to comment.