Skip to content

Commit 5a25c4b

Browse files
committed
fix(core): missed portable var rename
1 parent b4e3f70 commit 5a25c4b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ObservatoryCore/PluginManagement/PluginCore.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -311,9 +311,9 @@ private void MigratePluginStorage(string oldKey, string newKey, Guid guid)
311311
#if PORTABLE
312312
// Plugin subfolder portable storage migration
313313
var legacyPortablePath = GetLegacyStorageFolder(oldKey);
314-
if (Directory.Exists(legacyPortablePath) && !Directory.Exists(newPath))
314+
if (Directory.Exists(legacyPortablePath) && !Directory.Exists(newDir))
315315
{
316-
MoveDirectoryWithCleanup(legacyPortablePath, newPath);
316+
MoveDirectoryWithCleanup(legacyPortablePath, newDir);
317317
}
318318
#endif
319319
}

0 commit comments

Comments
 (0)