Skip to content

Commit

Permalink
Update prettier and reformat. (#1136)
Browse files Browse the repository at this point in the history
  • Loading branch information
rictic authored Jul 17, 2024
1 parent 68298c5 commit 0e6a615
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
8 changes: 4 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -422,7 +422,7 @@
"jsonc-parser": "^3.0.0",
"jsonschema": "^1.4.0",
"pnpm": "^9.4.0",
"prettier": "^3.0.3",
"prettier": "^3.3.3",
"selfsigned": "^2.0.1",
"typescript": "^5.2.2",
"uvu": "^0.5.3",
Expand Down
4 changes: 2 additions & 2 deletions src/util/copy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -112,11 +112,11 @@ const copySymlinkGracefully = async (
// need to check the type of the target.
const windowsType = IS_WINDOWS
? // The target could be in the source or the destination, check both.
(await detectWindowsSymlinkType(target, src)) ??
((await detectWindowsSymlinkType(target, src)) ??
(await detectWindowsSymlinkType(target, dest)) ??
// It doesn't exist in either place, so there's no way to know. Just
// assume "file".
'file'
'file')
: undefined;
await fs.symlink(target, dest, windowsType);
} catch (error) {
Expand Down

0 comments on commit 0e6a615

Please sign in to comment.