Skip to content

Commit e42f46e

Browse files
committed
Fix deprecation.
1 parent cbb41c9 commit e42f46e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/diff-client.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -362,7 +362,7 @@ export class DiffClient {
362362
// delete the tempRhsRoot if used
363363
if (this.tempRhsRoot) {
364364
console.warn(`WARN: Cleaning up temporary folder '${this.tempRhsRoot}'`);
365-
fs.rmdirSync(this.tempRhsRoot, { recursive: true });
365+
fs.rmSync(this.tempRhsRoot, { recursive: true });
366366
}
367367

368368
// create inverse files that show only the stuff that has been pruned

0 commit comments

Comments
 (0)