Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit648dd8f

Browse files
committed
more fix for the wpt runner on Windows
Signed-off-by: Matteo Collina <hello@matteocollina.com>
1 parenta0516ba commit648dd8f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎test/wpt/runner/runner.mjs‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import { fileURLToPath } from 'node:url'
55
import{Worker}from'node:worker_threads'
66
import{colors,handlePipes,normalizeName,parseMeta,resolveStatusPath}from'./util.mjs'
77

8-
constbasePath=fileURLToPath(join(import.meta.url,'../..'))
8+
constbasePath=fileURLToPath(newURL('..',import.meta.url))
99
consttestPath=join(basePath,'tests')
1010
conststatusPath=join(basePath,'status')
1111

@@ -131,7 +131,7 @@ export class WPTRunner extends EventEmitter {
131131
}
132132

133133
asyncrun(){
134-
constworkerPath=join(fileURLToPath(import.meta.url),'../worker.mjs')
134+
constworkerPath=fileURLToPath(newURL('../worker.mjs',import.meta.url))
135135
/**@type {Set<Worker>} */
136136
constactiveWorkers=newSet()
137137
letfinishedFiles=1

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp