File tree Expand file tree Collapse file tree 5 files changed +4
-5
lines changed Expand file tree Collapse file tree 5 files changed +4
-5
lines changed Original file line number Diff line number Diff line change 3131 name : Build
3232 env :
3333 NODE_OPTIONS : --max-old-space-size=4096
34- CF_PAGES_BRANCH : production
3534 - run : npx wrangler pages deploy --project-name cloudflare-docs dist
3635 name : Deploy to Cloudflare Pages
3736 env :
Original file line number Diff line number Diff line change @@ -6,7 +6,8 @@ async function main() {
66 let numInfiniteRedirects = 0 ;
77 let numUrlsWithFragment = 0 ;
88 let numDuplicateRedirects = 0 ;
9- let redirectSourceUrls : string [ ] = [ ] ;
9+
10+ const redirectSourceUrls : string [ ] = [ ] ;
1011
1112 for ( const line of redirects . split ( "\n" ) ) {
1213 if ( line . startsWith ( "#" ) || line . trim ( ) === "" ) continue ;
Original file line number Diff line number Diff line change @@ -30,7 +30,6 @@ export default [
3030 } ,
3131 {
3232 rules : {
33- "prefer-const" : "off" ,
3433 "no-var" : "error" ,
3534 "@typescript-eslint/no-explicit-any" : "off" ,
3635 "@typescript-eslint/triple-slash-reference" : "off" ,
Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ const FieldCatalog = ({ fields }: { fields: Fields }) => {
4141
4242 if ( filters . search ) {
4343 // search keywords
44- let keywordFound = field . keywords ?. some (
44+ const keywordFound = field . keywords ?. some (
4545 ( kw ) => kw . indexOf ( filters . search ) >= 0 ,
4646 ) ;
4747
Original file line number Diff line number Diff line change @@ -131,7 +131,7 @@ import "instantsearch.css/themes/satellite.css";
131131
132132 return (widgetParams: any) => {
133133 const widget = makeWidget(widgetParams);
134- let state: {
134+ const state: {
135135 windowClickListener?: (event: MouseEvent) => void;
136136 } = {};
137137 let rootElem: HTMLElement | null;
You can’t perform that action at this time.
0 commit comments