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) --- cli/js/files.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'cli/js/files.ts') diff --git a/cli/js/files.ts b/cli/js/files.ts index 3afcb4878..e9f12a489 100644 --- a/cli/js/files.ts +++ b/cli/js/files.ts @@ -23,7 +23,7 @@ export type { OpenOptions } from "./ops/fs/open.ts"; export function openSync( path: string | URL, - options: OpenOptions = { read: true } + options: OpenOptions = { read: true }, ): File { checkOpenOptions(options); const rid = opOpenSync(path, options); @@ -32,7 +32,7 @@ export function openSync( export async function open( path: string | URL, - options: OpenOptions = { read: true } + options: OpenOptions = { read: true }, ): Promise { checkOpenOptions(options); const rid = await opOpen(path, options); @@ -163,7 +163,7 @@ function checkOpenOptions(options: OpenOptions): void { if (createOrCreateNewWithoutWriteOrAppend) { throw new Error( - "'create' or 'createNew' options require 'write' or 'append' option" + "'create' or 'createNew' options require 'write' or 'append' option", ); } } -- cgit v1.2.3