Skip to content

Commit 890aa85

Browse files
authored
Merge pull request #857 from jeffersongoncalves/patch-1
Update sync.mjs
2 parents 0a4230b + 1f064c6 commit 890aa85

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/sync.mjs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ versions.forEach((version) => {
101101
`---\nlayout: "@layouts/BaseLayout.astro"\ngithubUrl: https://github.com/filamentphp/filament/edit/${file.replace(
102102
'filament/',
103103
'',
104-
)}"`,
104+
).replace(/\\/g, "/")}"`,
105105
)
106106

107107
fs.writeFile(
@@ -241,7 +241,7 @@ versions.forEach((version) => {
241241
`---\nlayout: "@layouts/BaseLayout.astro"\ngithubUrl: "https://github.com/filamentphp/filament/edit/${file.replace(
242242
'filament/',
243243
'',
244-
)}"`,
244+
).replace(/\\/g, "/")}"`,
245245
)
246246

247247
fs.writeFile(
@@ -382,7 +382,7 @@ versions.forEach((version) => {
382382
`---\nlayout: "@layouts/BaseLayout.astro"\ngithubUrl: "https://github.com/filamentphp/filament/edit/${file.replace(
383383
'filament/',
384384
'',
385-
)}"`,
385+
).replace(/\\/g, "/")}"`,
386386
)
387387

388388
fs.writeFile(

0 commit comments

Comments
 (0)