Skip to content

Commit 7b7dc51

Browse files
committed
fix other moveSync
1 parent 311f8d9 commit 7b7dc51

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ const factory = (options: PluginOptions) => {
102102

103103
if (fs.existsSync(backupFilename)) {
104104
log.info(`Restoring ${TSCONFIG} from backup`)
105-
moveSync(backupFilename, tsconfigPath)
105+
fs.renameSync(backupFilename, tsconfigPath)
106106
}
107107
},
108108
}

0 commit comments

Comments
 (0)