diff options
| author | Cory Miller <13227161+cory-miller@users.noreply.github.com> | 2024-04-24 12:04:10 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-04-24 12:04:10 -0400 |
| commit | 77eabb37dbe5cc705ca71a065bc5b19443b802dd (patch) | |
| tree | 5debd944e8396fc3c708d1252d7d26c1400c2b10 /src/fs-helper.ts | |
| parent | 92d604f0b71b629ce5b6949f8e3a3e9f1c17bad9 (diff) | |
Update NPM dependencies (#1703)
* Update dependencies manually
* Format files
* Update licenses
Diffstat (limited to 'src/fs-helper.ts')
| -rw-r--r-- | src/fs-helper.ts | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/src/fs-helper.ts b/src/fs-helper.ts index 3741d35..00ad941 100644 --- a/src/fs-helper.ts +++ b/src/fs-helper.ts @@ -18,8 +18,9 @@ export function directoryExistsSync(path: string, required?: boolean): boolean { } throw new Error( - `Encountered an error when checking whether path '${path}' exists: ${(error as any) - ?.message ?? error}` + `Encountered an error when checking whether path '${path}' exists: ${ + (error as any)?.message ?? error + }` ) } @@ -45,8 +46,9 @@ export function existsSync(path: string): boolean { } throw new Error( - `Encountered an error when checking whether path '${path}' exists: ${(error as any) - ?.message ?? error}` + `Encountered an error when checking whether path '${path}' exists: ${ + (error as any)?.message ?? error + }` ) } @@ -67,8 +69,9 @@ export function fileExistsSync(path: string): boolean { } throw new Error( - `Encountered an error when checking whether path '${path}' exists: ${(error as any) - ?.message ?? error}` + `Encountered an error when checking whether path '${path}' exists: ${ + (error as any)?.message ?? error + }` ) } |
