mirror of
https://github.com/nicotsx/ironmount.git
synced 2025-12-10 12:10:51 +01:00
fix: skip renaming imported repository
This commit is contained in:
@@ -99,6 +99,11 @@ const migrateRepositoryFolders = async (): Promise<MigrationResult> => {
|
||||
|
||||
const config = repo.config as Extract<RepositoryConfig, { backend: "local" }>;
|
||||
|
||||
if (config.isExistingRepository) {
|
||||
logger.debug(`Skipping imported repository "${repo.name}" - folder path is user-defined`);
|
||||
continue;
|
||||
}
|
||||
|
||||
if (config.name === repo.shortId) {
|
||||
continue;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user