Skip to content

Commit 2c2742c

Browse files
Fix execOperation to call workspace.pathsChanged with a single URI
1 parent 7222b90 commit 2c2742c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎src/lib/openFolder.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -778,7 +778,7 @@ function execOperation(type, action, url, $target, name) {
778778
newUrl = await helpers.createFileStructure(url, newName, false);
779779
}
780780
if (!newUrl.created) return;
781-
workspace.pathsChanged(newUrl.uri, newUrl.parentUri);
781+
workspace.pathsChanged(newUrl.uri);
782782

783783
if (isNestedPath) {
784784
await refreshOpenFolder(url);

0 commit comments

Comments
 (0)