summaryrefslogtreecommitdiff
path: root/tools/wpt/utils.ts
diff options
context:
space:
mode:
authorBert Belder <bertbelder@gmail.com>2021-06-23 15:46:15 +0000
committerBert Belder <bertbelder@gmail.com>2021-06-23 19:36:04 +0000
commit5a250b9e5529fa6af797a9ce5c3e612be49ea538 (patch)
tree8b3fde535f2e7e9487b5a0ebfd44b9aebdf1b847 /tools/wpt/utils.ts
parentabd7a8a9cdc407169993c4282d45ec9f717c74bd (diff)
tests: fix bug in WPT test harness (#10920)
Diffstat (limited to 'tools/wpt/utils.ts')
-rw-r--r--tools/wpt/utils.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/wpt/utils.ts b/tools/wpt/utils.ts
index f1c8488af..13c68ec90 100644
--- a/tools/wpt/utils.ts
+++ b/tools/wpt/utils.ts
@@ -2,7 +2,7 @@
/// FLAGS
import { parse } from "https://deno.land/std@0.84.0/flags/mod.ts";
-import { join, ROOT_PATH } from "../util.js";
+import { join, resolve, ROOT_PATH } from "../util.js";
export const {
json,
@@ -21,7 +21,7 @@ export const {
export function denoBinary() {
if (binary) {
- return binary;
+ return resolve(binary);
}
return join(ROOT_PATH, `./target/${release ? "release" : "debug"}/deno`);
}