1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-25 15:29:32 -05:00

chore: use local deno_std in tools scripts (#11122)

This commit is contained in:
Bartek Iwańczuk 2021-06-26 02:02:31 +02:00 committed by GitHub
parent 5ee6995cf7
commit 59696df9e0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 15 deletions

View file

@ -5,11 +5,11 @@ import {
join, join,
resolve, resolve,
toFileUrl, 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 { dirname, fromFileUrl, join, resolve, toFileUrl };
export { existsSync } from "https://deno.land/std@0.84.0/fs/mod.ts"; export { existsSync } from "../test_util/std/fs/mod.ts";
export { readLines } from "https://deno.land/std@0.97.0/io/mod.ts"; export { readLines } from "../test_util/std/io/mod.ts";
export { delay } from "https://deno.land/std@0.84.0/async/delay.ts"; export { delay } from "../test_util/std/async/delay.ts";
export const ROOT_PATH = dirname(dirname(fromFileUrl(import.meta.url))); export const ROOT_PATH = dirname(dirname(fromFileUrl(import.meta.url)));

View file

@ -29,17 +29,8 @@ import {
updateManifest, updateManifest,
wptreport, wptreport,
} from "./wpt/utils.ts"; } from "./wpt/utils.ts";
import { import { blue, bold, green, red, yellow } from "../test_util/std/fmt/colors.ts";
blue, import { writeAll, writeAllSync } from "../test_util/std/io/util.ts";
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 { saveExpectation } from "./wpt/utils.ts"; import { saveExpectation } from "./wpt/utils.ts";
const command = Deno.args[0]; const command = Deno.args[0];