Skip to content
This repository was archived by the owner on Jan 11, 2023. It is now read-only.

Commit 8c6a0c4

Browse files
committed
Merge branch 'master' into gh-344
2 parents 444908c + af50635 commit 8c6a0c4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/common/test.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ function testExport({ basepath = '' }) {
107107
'svelte-logo-192.png',
108108
'svelte-logo-512.png',
109109
].map(file => {
110-
return basepath ? path.join(basepath.replace(/^\//, ''), file) : file;
110+
return basepath ? `${basepath.replace(/^[\/\\]/, '')}/${file}` : file;
111111
});
112112

113113
// Client scripts that should show up in the extraction directory.

0 commit comments

Comments
 (0)