File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -85,7 +85,7 @@ export async function writeText(fn: string, content: string) {
8585 if ( ! fn ) throw new Error ( "filename is required" ) ;
8686 if ( typeof content !== "string" ) throw new Error ( "content must be a string" ) ;
8787 await ensureDir ( dirname ( fn ) ) ;
88- dbg ( `write text ${ fn } ` ) ;
88+ dbg ( `write text %s` , fn ) ;
8989 await writeFile ( fn , content , { encoding : "utf8" } ) ;
9090}
9191
@@ -99,7 +99,7 @@ export async function writeText(fn: string, content: string) {
9999export async function appendText ( fn : string , content : string ) {
100100 if ( ! fn ) throw new Error ( "filename is required" ) ;
101101 await ensureDir ( dirname ( fn ) ) ;
102- dbg ( `append text ${ fn } ` ) ;
102+ dbg ( `append text %s` , fn ) ;
103103 await appendFile ( fn , content , { encoding : "utf8" } ) ;
104104}
105105
You can’t perform that action at this time.
0 commit comments