summaryrefslogtreecommitdiff
path: root/std/node/_fs/_fs_appendFile.ts
diff options
context:
space:
mode:
authorDavid Sherret <dsherret@users.noreply.github.com>2020-07-14 15:24:17 -0400
committerGitHub <noreply@github.com>2020-07-14 15:24:17 -0400
commitcde4dbb35132848ffece59ef9cfaccff32347124 (patch)
treecc7830968c6decde704c8cfb83c9185193dc698f /std/node/_fs/_fs_appendFile.ts
parent9eca71caa1674c31f9cc5d4e86c03f10b59e0a00 (diff)
Use dprint for internal formatting (#6682)
Diffstat (limited to 'std/node/_fs/_fs_appendFile.ts')
-rw-r--r--std/node/_fs/_fs_appendFile.ts6
1 files changed, 3 insertions, 3 deletions
diff --git a/std/node/_fs/_fs_appendFile.ts b/std/node/_fs/_fs_appendFile.ts
index c057c1f65..bc30de609 100644
--- a/std/node/_fs/_fs_appendFile.ts
+++ b/std/node/_fs/_fs_appendFile.ts
@@ -17,7 +17,7 @@ export function appendFile(
pathOrRid: string | number | URL,
data: string,
optionsOrCallback: Encodings | WriteFileOptions | CallbackWithError,
- callback?: CallbackWithError
+ callback?: CallbackWithError,
): void {
pathOrRid = pathOrRid instanceof URL ? fromFileUrl(pathOrRid) : pathOrRid;
const callbackFn: CallbackWithError | undefined =
@@ -80,7 +80,7 @@ function closeRidIfNecessary(isPathString: boolean, rid: number): void {
export function appendFileSync(
pathOrRid: string | number | URL,
data: string,
- options?: Encodings | WriteFileOptions
+ options?: Encodings | WriteFileOptions,
): void {
let rid = -1;
@@ -116,7 +116,7 @@ export function appendFileSync(
}
function validateEncoding(
- encodingOption: Encodings | WriteFileOptions | undefined
+ encodingOption: Encodings | WriteFileOptions | undefined,
): void {
if (!encodingOption) return;