diff options
Diffstat (limited to 'cli/js/files.ts')
-rw-r--r-- | cli/js/files.ts | 6 |
1 files changed, 3 insertions, 3 deletions
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<File> { 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", ); } } |