Skip to content

Commit

Permalink
fix(diskFileSystemProvider): do not use fast delete option (since thi…
Browse files Browse the repository at this point in the history
…s introduces problems with some devices on windows, e.g. external drives, network drives)
  • Loading branch information
pkerschbaum committed Jan 3, 2022
1 parent 847251b commit e84f81c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/vs/platform/files/node/diskFileSystemProvider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -529,7 +529,7 @@ export class DiskFileSystemProvider extends AbstractDiskFileSystemProvider imple
const filePath = this.toFilePath(resource);

if (opts.recursive) {
await Promises.rm(filePath, RimRafMode.MOVE);
await Promises.rm(filePath, RimRafMode.UNLINK);
} else {
await Promises.unlink(filePath);
}
Expand Down

0 comments on commit e84f81c

Please sign in to comment.