Skip to content

Commit 05505a4

Browse files
archilexgithub-actions[bot]
authored andcommitted
chore: fix code style
1 parent 52d5426 commit 05505a4

File tree

2 files changed

+199
-95
lines changed

2 files changed

+199
-95
lines changed

docs/sync.mjs

Lines changed: 9 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -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

Comments
 (0)