File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -236,7 +236,7 @@ export class CredentialManagerOverride {
236236 public static getCredentialManagerOptions ( ) : ICredentialManagerOptions {
237237 try {
238238 const settings = this . getSettingsFileJson ( ) ;
239- return settings . json . credentialManagerOptions as Record < string , unknown > ?? { } ;
239+ return settings . json . credentialManagerOptions ?? { } ;
240240 } catch {
241241 return { } ;
242242 }
@@ -263,7 +263,7 @@ export class CredentialManagerOverride {
263263 const cachedSettings = AppSettings . instance . getSettings ( ) ;
264264 cachedSettings . overrides . CredentialManager = updatedSettings . overrides . CredentialManager ;
265265 cachedSettings . credentialManagerOptions = updatedSettings . credentialManagerOptions ?
266- { ...updatedSettings . credentialManagerOptions as Record < string , unknown > } : { } ;
266+ { ...updatedSettings . credentialManagerOptions } : { } ;
267267 }
268268
269269 //________________________________________________________________________
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ import { JSONSettingsFilePersistence } from "./persistance/JSONSettingsFilePersi
1818import { IO } from "../../io" ;
1919import { ImperativeError } from "../../error" ;
2020
21- type SettingValue = false | string | number | boolean | Record < string , unknown > ;
21+ type SettingValue = string | number | boolean | Record < string , unknown > ;
2222
2323/**
2424 * This class represents settings for an Imperative CLI application that can be configured
You can’t perform that action at this time.
0 commit comments