summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBartek IwaƄczuk <biwanczuk@gmail.com>2021-06-26 02:02:31 +0200
committerGitHub <noreply@github.com>2021-06-26 02:02:31 +0200
commit59696df9e01ece12104c5c4c54e81c61cfdbe9fb (patch)
tree606c5ae5269e44472e5eaf797b4c4be551b71826
parent5ee6995cf78ac8865d649ef8b896950d5e1c533a (diff)
chore: use local deno_std in tools scripts (#11122)
-rw-r--r--tools/util.js8
-rwxr-xr-xtools/wpt.ts13
2 files changed, 6 insertions, 15 deletions
diff --git a/tools/util.js b/tools/util.js
index c40db305c..90f72b9ef 100644
--- a/tools/util.js
+++ b/tools/util.js
@@ -5,11 +5,11 @@ import {
join,
resolve,
toFileUrl,
-} from "https://deno.land/std@0.84.0/path/mod.ts";
+} from "../test_util/std/path/mod.ts";
export { dirname, fromFileUrl, join, resolve, toFileUrl };
-export { existsSync } from "https://deno.land/std@0.84.0/fs/mod.ts";
-export { readLines } from "https://deno.land/std@0.97.0/io/mod.ts";
-export { delay } from "https://deno.land/std@0.84.0/async/delay.ts";
+export { existsSync } from "../test_util/std/fs/mod.ts";
+export { readLines } from "../test_util/std/io/mod.ts";
+export { delay } from "../test_util/std/async/delay.ts";
export const ROOT_PATH = dirname(dirname(fromFileUrl(import.meta.url)));
diff --git a/tools/wpt.ts b/tools/wpt.ts
index 0c56e9efd..f8ec3f517 100755
--- a/tools/wpt.ts
+++ b/tools/wpt.ts
@@ -29,17 +29,8 @@ import {
updateManifest,
wptreport,
} from "./wpt/utils.ts";
-import {
- blue,
- bold,
- green,
- red,
- yellow,
-} from "https://deno.land/std@0.84.0/fmt/colors.ts";
-import {
- writeAll,
- writeAllSync,
-} from "https://deno.land/std@0.95.0/io/util.ts";
+import { blue, bold, green, red, yellow } from "../test_util/std/fmt/colors.ts";
+import { writeAll, writeAllSync } from "../test_util/std/io/util.ts";
import { saveExpectation } from "./wpt/utils.ts";
const command = Deno.args[0];