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;
1616
1717async function init ( v : string ) {
1818 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 ) ;
2020
2121 let tarball : FileDescription [ ] | undefined ;
2222 let version : string ;
Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ let inited = Promise.withResolvers<typeof svelte>();
3434let can_use_experimental_async = false ;
3535
3636async 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 ) ;
3838
3939 let tarball : FileDescription [ ] | undefined ;
4040
You can’t perform that action at this time.
0 commit comments