mirror of
https://github.com/denoland/deno.git
synced 2024-11-24 15:19:26 -05:00
chore: use local deno_std in tools scripts (#11122)
This commit is contained in:
parent
5ee6995cf7
commit
59696df9e0
2 changed files with 6 additions and 15 deletions
|
@ -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)));
|
||||
|
||||
|
|
13
tools/wpt.ts
13
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];
|
||||
|
|
Loading…
Reference in a new issue