Skip to content

Commit

Permalink
chore(core): convert to existsSync (#149)
Browse files Browse the repository at this point in the history
* convert to existsSync

* changeset
  • Loading branch information
JoviDeCroock authored Feb 7, 2024
1 parent 0642a38 commit 8f8db40
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/twelve-emus-jog.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'fuse': patch
---

Replace fs.exists with existsSync
2 changes: 1 addition & 1 deletion packages/core/src/cli.ts
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ prog
? path.resolve(baseDirectory, 'src')
: baseDirectory

if (!(await fs.exists(path.resolve(base, 'fuse')))) {
if (!existsSync(path.resolve(base, 'fuse'))) {
await fs.mkdir(path.resolve(base, 'fuse'))
}

Expand Down

0 comments on commit 8f8db40

Please sign in to comment.