Skip to content

Commit

Permalink
fix(stub): use junction links for windows support
Browse files Browse the repository at this point in the history
  • Loading branch information
pi0 committed Aug 9, 2021
1 parent 5c7dddc commit 56aaf4b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ export async function symlink (from: string, to: string, force: boolean = true)
if (force) {
await fsp.unlink(to).catch(() => { })
}
await fsp.symlink(from, to)
await fsp.symlink(from, to, 'junction')
}

export function dumpObject (obj: Record<string, any>) {
Expand Down

0 comments on commit 56aaf4b

Please sign in to comment.