mirror of
https://github.com/denoland/deno.git
synced 2025-09-30 14:11:14 +00:00
Use dprint for internal formatting (#6682)
This commit is contained in:
parent
9eca71caa1
commit
cde4dbb351
378 changed files with 3116 additions and 3121 deletions
|
@ -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));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue