Skip to content

Commit bd52749

Browse files
committed
Fix HDT source configs not being migrated correctly
1 parent b3926e1 commit bd52749

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/server/bin/ldf-server-migrate-config-3x

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ function migrateConfig(configFile, updateFile) {
6565
if (settingsOld) {
6666
if ('endpoint' in settingsOld) settings.sparqlEndpoint = settingsOld.endpoint;
6767
if ('file' in settingsOld && datasourceOld.type !== 'HdtDatasource') settings.file = settingsOld.file;
68-
if ('file' in settingsOld && datasourceOld.type === 'HdtDatasource') settings.hdtFile = settingsOld.hdtFile;
68+
if ('file' in settingsOld && datasourceOld.type === 'HdtDatasource') settings.hdtFile = settingsOld.file;
6969
if ('references' in settingsOld) settings.compose = settingsOld.references.map(datasourcePathToId);
7070
}
7171

0 commit comments

Comments
 (0)