Skip to content

Commit a9b3a80

Browse files
committed
feat: change console error
1 parent f7160b5 commit a9b3a80

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/app.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,10 @@ async function main() {
1717
const fileData = await fsp.readFile(filePath, 'utf8');
1818

1919
await fsp.writeFile(filePathCopy, fileData).catch((error) => {
20-
console.log(error);
20+
console.error(error);
2121
});
2222
} catch (error) {
23-
console.log(error);
23+
console.error(error);
2424
}
2525
}
2626

0 commit comments

Comments
 (0)