@@ -98,10 +98,9 @@ versions.forEach((version) => {
9898
9999 let result = data . replace (
100100 '---' ,
101- `---\nlayout: "@layouts/BaseLayout.astro"\ngithubUrl: https://github.com/filamentphp/filament/edit/${ file . replace (
102- 'filament/' ,
103- '' ,
104- ) . replace ( / \\ / g, "/" ) } "`,
101+ `---\nlayout: "@layouts/BaseLayout.astro"\ngithubUrl: https://github.com/filamentphp/filament/edit/${ file
102+ . replace ( 'filament/' , '' )
103+ . replace ( / \\ / g, '/' ) } "`,
105104 )
106105
107106 fs . writeFile (
@@ -238,10 +237,9 @@ versions.forEach((version) => {
238237
239238 let result = data . replace (
240239 '---' ,
241- `---\nlayout: "@layouts/BaseLayout.astro"\ngithubUrl: "https://github.com/filamentphp/filament/edit/${ file . replace (
242- 'filament/' ,
243- '' ,
244- ) . replace ( / \\ / g, "/" ) } "`,
240+ `---\nlayout: "@layouts/BaseLayout.astro"\ngithubUrl: "https://github.com/filamentphp/filament/edit/${ file
241+ . replace ( 'filament/' , '' )
242+ . replace ( / \\ / g, '/' ) } "`,
245243 )
246244
247245 fs . writeFile (
@@ -379,10 +377,9 @@ versions.forEach((version) => {
379377
380378 let result = data . replace (
381379 '---' ,
382- `---\nlayout: "@layouts/BaseLayout.astro"\ngithubUrl: "https://github.com/filamentphp/filament/edit/${ file . replace (
383- 'filament/' ,
384- '' ,
385- ) . replace ( / \\ / g, "/" ) } "`,
380+ `---\nlayout: "@layouts/BaseLayout.astro"\ngithubUrl: "https://github.com/filamentphp/filament/edit/${ file
381+ . replace ( 'filament/' , '' )
382+ . replace ( / \\ / g, '/' ) } "`,
386383 )
387384
388385 fs . writeFile (
0 commit comments