Skip to content

Commit

Permalink
fix: deno 1.4.0 support
Browse files Browse the repository at this point in the history
  • Loading branch information
Qu4k committed Sep 15, 2020
1 parent 91f944d commit a111891
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 20 deletions.
1 change: 0 additions & 1 deletion colors.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import { createHash } from "https://deno.land/std@0.68.0/hash/mod.ts";
import { colors } from "./deps.ts";

export type ColorFunction = (message: string) => string;
Expand Down
6 changes: 3 additions & 3 deletions deps.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
export { createHash } from "https://deno.land/std@0.68.0/hash/mod.ts";
export { encode } from "https://deno.land/std@0.68.0/encoding/utf8.ts";
export * as colors from "https://deno.land/std@0.68.0/fmt/colors.ts";
export { createHash } from "https://deno.land/std@0.69.0/hash/mod.ts";
export { encode } from "https://deno.land/std@0.69.0/encoding/utf8.ts";
export * as colors from "https://deno.land/std@0.69.0/fmt/colors.ts";
16 changes: 0 additions & 16 deletions example/hello.ts

This file was deleted.

6 changes: 6 additions & 0 deletions examples/hello.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
import { debug } from "../mod.ts";

const log = debug("app");
const name = "My Awesome App";

log("Starting %s...", name);

0 comments on commit a111891

Please sign in to comment.