From cde4dbb35132848ffece59ef9cfaccff32347124 Mon Sep 17 00:00:00 2001 From: David Sherret Date: Tue, 14 Jul 2020 15:24:17 -0400 Subject: Use dprint for internal formatting (#6682) --- std/fs/ensure_file.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'std/fs/ensure_file.ts') 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 { 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) { -- cgit v1.2.3