Skip to content

Commit 3e48de8

Browse files
committed
fix type linting
1 parent dde63e9 commit 3e48de8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ async function run() {
2222
const options = await cli(process.argv);
2323
await scrub(rootDir, options);
2424
} catch (err) {
25-
console.log(chalk.red.bold(err.message));
25+
console.log(chalk.red.bold((err as Error).message));
2626
}
2727
}
2828

0 commit comments

Comments
 (0)