diff options
Diffstat (limited to 'std/examples')
-rw-r--r-- | std/examples/cat.ts | 2 | ||||
-rw-r--r-- | std/examples/catj.ts | 2 | ||||
-rw-r--r-- | std/examples/colors.ts | 2 | ||||
-rw-r--r-- | std/examples/curl.ts | 2 | ||||
-rw-r--r-- | std/examples/echo_server.ts | 2 | ||||
-rwxr-xr-x | std/examples/gist.ts | 2 | ||||
-rw-r--r-- | std/examples/test.ts | 2 |
7 files changed, 7 insertions, 7 deletions
diff --git a/std/examples/cat.ts b/std/examples/cat.ts index 9e713d862..92d5ae397 100644 --- a/std/examples/cat.ts +++ b/std/examples/cat.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. const filenames = Deno.args.slice(1); for (const filename of filenames) { const file = await Deno.open(filename); diff --git a/std/examples/catj.ts b/std/examples/catj.ts index 87fd6a964..2f578790d 100644 --- a/std/examples/catj.ts +++ b/std/examples/catj.ts @@ -1,7 +1,7 @@ #!/usr/bin/env -S deno --allow-read // Ported from: https://github.com/soheilpro/catj // Copyright (c) 2014 Soheil Rashidi -// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. // Install using `deno install` // $ deno install catj https://deno.land/std/examples/catj.ts --allow-read diff --git a/std/examples/colors.ts b/std/examples/colors.ts index 6f03355c6..e02c90746 100644 --- a/std/examples/colors.ts +++ b/std/examples/colors.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. import { bgBlue, red, bold, italic } from "../fmt/colors.ts"; console.log(bgBlue(italic(red(bold("Hello world!"))))); diff --git a/std/examples/curl.ts b/std/examples/curl.ts index b62e58b27..65a687262 100644 --- a/std/examples/curl.ts +++ b/std/examples/curl.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. const url_ = Deno.args[1]; const res = await fetch(url_); await Deno.copy(Deno.stdout, res.body); diff --git a/std/examples/echo_server.ts b/std/examples/echo_server.ts index 1eafae50c..dbcc9b5ae 100644 --- a/std/examples/echo_server.ts +++ b/std/examples/echo_server.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. const hostname = "0.0.0.0"; const port = 8080; const listener = Deno.listen({ hostname, port }); diff --git a/std/examples/gist.ts b/std/examples/gist.ts index d0e369c66..c9a9b024b 100755 --- a/std/examples/gist.ts +++ b/std/examples/gist.ts @@ -1,5 +1,5 @@ #!/usr/bin/env -S deno --allow-net --allow-env -// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. import { parse } from "https://deno.land/std/flags/mod.ts"; function pathBase(p: string): string { diff --git a/std/examples/test.ts b/std/examples/test.ts index 9887b1267..26dd989e4 100644 --- a/std/examples/test.ts +++ b/std/examples/test.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. const { run } = Deno; import { test } from "../testing/mod.ts"; import { assertEquals } from "../testing/asserts.ts"; |