Skip to content

Commit 7764da6

Browse files
authored
Fix isfs folder deletion (#1080)
1 parent e578a7c commit 7764da6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/providers/FileSystemProvider/FileSystemProvider.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -442,7 +442,7 @@ export class FileSystemProvider implements vscode.FileSystemProvider {
442442
if (fileName.startsWith(".")) {
443443
return;
444444
}
445-
if (!fileName.includes(".")) {
445+
if (await this._lookup(uri).then((entry) => entry instanceof Directory)) {
446446
// Get the list of documents to delete
447447
let toDeletePromise: Promise<any>;
448448
if (project) {

0 commit comments

Comments
 (0)