Skip to content

Commit 29952f3

Browse files
committed
[fix] actually use the UI param
1 parent db8a834 commit 29952f3

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

src/config/configStore.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ export class ConfigStore {
9090
configPath: this.getConfigFilePath(),
9191
algorithmId: this.getAlgorithmId(),
9292
embeddedSalt: this.saltConfiguration,
93-
usingUI: true
93+
usingUI: this.usingUI
9494
});
9595

9696
// if the load succesds we have a valid config -- use it as a
@@ -108,7 +108,7 @@ export class ConfigStore {
108108
configPath: this.getBackupConfigFilePath(),
109109
algorithmId: this.getAlgorithmId(),
110110
embeddedSalt: this.saltConfiguration,
111-
usingUI: true
111+
usingUI: this.usingUI
112112
});
113113

114114
// if the load succesds we have a valid config -- use it as
@@ -152,7 +152,7 @@ export class ConfigStore {
152152
configPath: userConfigFilePath,
153153
algorithmId: this.getAlgorithmId(),
154154
embeddedSalt: this.saltConfiguration,
155-
usingUI: true
155+
usingUI: this.usingUI
156156
});
157157

158158
// if failed return the error message
@@ -189,7 +189,7 @@ export class ConfigStore {
189189
configPath: this.getBackupConfigFilePath(),
190190
algorithmId: this.getAlgorithmId(),
191191
embeddedSalt: this.saltConfiguration,
192-
usingUI: true
192+
usingUI: this.usingUI
193193
});
194194

195195
// if failed return the error message (do not delete the user config yet)

0 commit comments

Comments
 (0)