We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent aa2ffa7 commit 5c50c0bCopy full SHA for 5c50c0b
src/commands/fix/coana-fix.mts
@@ -182,7 +182,8 @@ export async function coanaFix(
182
// Copy to outputFile if provided.
183
if (outputFile) {
184
logger.info(`Copying fixes result to ${outputFile}`)
185
- await fs.copyFile(tmpFile, outputFile)
+ const tmpContent = await fs.readFile(tmpFile, 'utf8')
186
+ await fs.writeFile(outputFile, tmpContent, 'utf8')
187
}
188
189
return { ok: true, data: { data: fixesResultJson, fixed: true } }
0 commit comments