diff options
| author | David Sherret <dsherret@users.noreply.github.com> | 2020-07-14 15:24:17 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-07-14 15:24:17 -0400 |
| commit | cde4dbb35132848ffece59ef9cfaccff32347124 (patch) | |
| tree | cc7830968c6decde704c8cfb83c9185193dc698f /std/fs/ensure_file.ts | |
| parent | 9eca71caa1674c31f9cc5d4e86c03f10b59e0a00 (diff) | |
Use dprint for internal formatting (#6682)
Diffstat (limited to 'std/fs/ensure_file.ts')
| -rw-r--r-- | std/fs/ensure_file.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/std/fs/ensure_file.ts b/std/fs/ensure_file.ts index b36379b3d..41565795c 100644 --- a/std/fs/ensure_file.ts +++ b/std/fs/ensure_file.ts @@ -17,7 +17,7 @@ export async function ensureFile(filePath: string): Promise<void> { const stat = await Deno.lstat(filePath); if (!stat.isFile) { throw new Error( - `Ensure path exists, expected 'file', got '${getFileInfoType(stat)}'` + `Ensure path exists, expected 'file', got '${getFileInfoType(stat)}'`, ); } } catch (err) { @@ -48,7 +48,7 @@ export function ensureFileSync(filePath: string): void { const stat = Deno.lstatSync(filePath); if (!stat.isFile) { throw new Error( - `Ensure path exists, expected 'file', got '${getFileInfoType(stat)}'` + `Ensure path exists, expected 'file', got '${getFileInfoType(stat)}'`, ); } } catch (err) { |
