File tree Expand file tree Collapse file tree 3 files changed +7
-3
lines changed Expand file tree Collapse file tree 3 files changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ export function createUrlProxy({
2626 type,
2727 weight : renderFontWeight ( data . weight ) ,
2828 style : data . style ,
29- subset : data . subset
29+ subset : data . subset ,
3030 }
3131 : null ,
3232 data,
Original file line number Diff line number Diff line change @@ -33,7 +33,11 @@ export function filterPreloads(
3333 return data . filter ( ( { weight, style, subset } ) =>
3434 preload . some ( ( p ) => {
3535 // Always check the weight
36- if ( p . weight !== undefined && weight !== undefined && ! checkWeight ( p . weight . toString ( ) , weight ) ) {
36+ if (
37+ p . weight !== undefined &&
38+ weight !== undefined &&
39+ ! checkWeight ( p . weight . toString ( ) , weight )
40+ ) {
3741 return false ;
3842 }
3943 // Only check the style if specified
Original file line number Diff line number Diff line change @@ -86,7 +86,7 @@ export default async function seed() {
8686{
8787 "main": "dist/_worker.js/index.js",
8888 "name": ${ JSON . stringify ( name ) } ,
89- "compatibility_date": ${ JSON . stringify ( new Date ( ) . toISOString ( ) . slice ( 0 , 10 ) ) } ,
89+ "compatibility_date": ${ JSON . stringify ( new Date ( ) . toISOString ( ) . slice ( 0 , 10 ) ) } ,
9090 "compatibility_flags": [
9191 "nodejs_compat",
9292 "global_fetch_strictly_public"
You can’t perform that action at this time.
0 commit comments