From 59696df9e01ece12104c5c4c54e81c61cfdbe9fb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bartek=20Iwa=C5=84czuk?= Date: Sat, 26 Jun 2021 02:02:31 +0200 Subject: chore: use local deno_std in tools scripts (#11122) --- tools/util.js | 8 ++++---- tools/wpt.ts | 13 ++----------- 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]; -- cgit v1.2.3