@@ -98,10 +98,9 @@ versions.forEach((version) => {
98
98
99
99
let result = data . replace (
100
100
'---' ,
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, '/' ) } "`,
105
104
)
106
105
107
106
fs . writeFile (
@@ -238,10 +237,9 @@ versions.forEach((version) => {
238
237
239
238
let result = data . replace (
240
239
'---' ,
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, '/' ) } "`,
245
243
)
246
244
247
245
fs . writeFile (
@@ -379,10 +377,9 @@ versions.forEach((version) => {
379
377
380
378
let result = data . replace (
381
379
'---' ,
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, '/' ) } "`,
386
383
)
387
384
388
385
fs . writeFile (
0 commit comments