Skip to content

Commit ccd3d39

Browse files
committed
Add progress message
1 parent 62e3e42 commit ccd3d39

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/cli.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@ program
6969
}
7070
let errors = false;
7171
for (const filePath of files) {
72+
console.log(`Transforming ${filePath}...`);
7273
const newPath = filePath.replace(/\.jsx?$/, '.tsx');
7374
const temporaryPath = filePath.replace(/\.jsx?$/, `_js2ts_${+new Date()}.tsx`);
7475
try {

0 commit comments

Comments
 (0)