Skip to content

Commit 1e47a9f

Browse files
Irfan SharifIrfan Sharif
Irfan Sharif
authored and
Irfan Sharif
committed
Remove error logs
Signed-off-by: Irfan Sharif <[email protected]>
1 parent 34c70db commit 1e47a9f

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

src/views/projectExplorer/migrateSource.ts

+1-6
Original file line numberDiff line numberDiff line change
@@ -211,12 +211,7 @@ function fixExtensions(workspaceFolder: string): void {
211211

212212
const newFileName = fileSplit.join('.');
213213

214-
fs.rename(path, workspaceFolder + "/" + newFileName, (error) => {
215-
if (error) {
216-
console.error(`Error fixing extension's case for file: ${fileDir}`);
217-
} else {
218-
console.log(`File ${fileDir} renamed successfully to ${newFileName}`);
219-
}
214+
fs.rename(path, workspaceFolder + "/" + newFileName, () => {
220215
});
221216
}
222217
}

0 commit comments

Comments
 (0)