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/node/_fs/_fs_writeFile.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'std/node/_fs/_fs_writeFile.ts') diff --git a/std/node/_fs/_fs_writeFile.ts b/std/node/_fs/_fs_writeFile.ts index 8a66f3f3d..a8ae1f586 100644 --- a/std/node/_fs/_fs_writeFile.ts +++ b/std/node/_fs/_fs_writeFile.ts @@ -17,7 +17,7 @@ export function writeFile( pathOrRid: string | number | URL, data: string | Uint8Array, optOrCallback: Encodings | CallbackWithError | WriteFileOptions | undefined, - callback?: CallbackWithError + callback?: CallbackWithError, ): void { const callbackFn: CallbackWithError | undefined = optOrCallback instanceof Function ? optOrCallback : callback; @@ -72,7 +72,7 @@ export function writeFile( export function writeFileSync( pathOrRid: string | number | URL, data: string | Uint8Array, - options?: Encodings | WriteFileOptions + options?: Encodings | WriteFileOptions, ): void { pathOrRid = pathOrRid instanceof URL ? fromFileUrl(pathOrRid) : pathOrRid; -- cgit v1.2.3