From abda059be58b36870fbebe44cb3a2346c87caf41 Mon Sep 17 00:00:00 2001 From: Rich Harris Date: Thu, 9 Aug 2018 19:46:09 -0400 Subject: [PATCH 1/2] doh --- test/common/test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/common/test.js b/test/common/test.js index c46751f..84c69ef 100644 --- a/test/common/test.js +++ b/test/common/test.js @@ -107,7 +107,7 @@ function testExport({ basepath = '' }) { 'svelte-logo-192.png', 'svelte-logo-512.png', ].map(file => { - return basepath ? path.join(basepath.replace(/^\//, ''), file) : file; + return basepath ? path.join(basepath.replace(/^[\/\\]/, ''), file) : file; }); // Client scripts that should show up in the extraction directory. From 419d154794a41d3ccf9e631ccb38b5c941299130 Mon Sep 17 00:00:00 2001 From: Rich Harris Date: Thu, 9 Aug 2018 19:53:26 -0400 Subject: [PATCH 2/2] fffffuuuuu --- test/common/test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/common/test.js b/test/common/test.js index 84c69ef..b8b90fe 100644 --- a/test/common/test.js +++ b/test/common/test.js @@ -107,7 +107,7 @@ function testExport({ basepath = '' }) { 'svelte-logo-192.png', 'svelte-logo-512.png', ].map(file => { - return basepath ? path.join(basepath.replace(/^[\/\\]/, ''), file) : file; + return basepath ? `${basepath.replace(/^[\/\\]/, '')}/${file}` : file; }); // Client scripts that should show up in the extraction directory.