Skip to content

Commit 11d7285

Browse files
committed
fix: Update condition to compare file URLs correctly in gettingStarted.md
1 parent bc837eb commit 11d7285

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

adminforth/documentation/docs/tutorial/001-gettingStarted.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -409,7 +409,7 @@ async function seedDatabase() {
409409
//diff-add
410410
};
411411

412-
if (import.meta.url === `file://${process.argv[1]}`) {
412+
if (fileURLToPath(import.meta.url) === path.resolve(process.argv[1])) {
413413

414414
...
415415

0 commit comments

Comments
 (0)