We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dde63e9 commit 3e48de8Copy full SHA for 3e48de8
index.ts
@@ -22,7 +22,7 @@ async function run() {
22
const options = await cli(process.argv);
23
await scrub(rootDir, options);
24
} catch (err) {
25
- console.log(chalk.red.bold(err.message));
+ console.log(chalk.red.bold((err as Error).message));
26
}
27
28
0 commit comments