File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
editor/src/lib/compile-worker
repl/src/lib/workers/bundler Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ let can_use_experimental_async = false;
16
16
17
17
async function init ( v : string ) {
18
18
const svelte_url = v === 'local' ? '/svelte' : `https://unpkg.com/svelte@${ v } ` ;
19
- const match = / ^ (?: p r | c o m m i t ) - ( .+ ) / . exec ( v ) ;
19
+ const match = / ^ (?: p r | c o m m i t | b r a n c h ) - ( .+ ) / . exec ( v ) ;
20
20
21
21
let tarball : FileDescription [ ] | undefined ;
22
22
let version : string ;
Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ let inited = Promise.withResolvers<typeof svelte>();
34
34
let can_use_experimental_async = false ;
35
35
36
36
async function init ( v : string , packages_url : string ) {
37
- const match = / ^ ( p r | c o m m i t ) - ( .+ ) / . exec ( v ) ;
37
+ const match = / ^ ( p r | c o m m i t | b r a n c h ) - ( .+ ) / . exec ( v ) ;
38
38
39
39
let tarball : FileDescription [ ] | undefined ;
40
40
You can’t perform that action at this time.
0 commit comments