summaryrefslogtreecommitdiff
path: root/std/fs/write_file_str.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/fs/write_file_str.ts
parent9eca71caa1674c31f9cc5d4e86c03f10b59e0a00 (diff)
Use dprint for internal formatting (#6682)
Diffstat (limited to 'std/fs/write_file_str.ts')
-rw-r--r--std/fs/write_file_str.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/std/fs/write_file_str.ts b/std/fs/write_file_str.ts
index 670399dcc..bf972f204 100644
--- a/std/fs/write_file_str.ts
+++ b/std/fs/write_file_str.ts
@@ -21,7 +21,7 @@ export function writeFileStrSync(filename: string, content: string): void {
*/
export async function writeFileStr(
filename: string,
- content: string
+ content: string,
): Promise<void> {
const encoder = new TextEncoder();
await Deno.writeFile(filename, encoder.encode(content));