fixed more lint issues
This commit is contained in:
parent
43f4429998
commit
5436509ed6
7 changed files with 15 additions and 16 deletions
|
|
@ -77,7 +77,7 @@ export class EnvLoader implements ConfigLoader {
|
|||
const path = key.toLowerCase().split('_');
|
||||
this.setNestedValue(config, path, parsedValue);
|
||||
}
|
||||
} catch (error) {
|
||||
} catch {
|
||||
// Skip environment variables that can't be set (readonly properties)
|
||||
// This is expected behavior for system environment variables
|
||||
}
|
||||
|
|
@ -96,7 +96,7 @@ export class EnvLoader implements ConfigLoader {
|
|||
|
||||
target[lastKey] = value;
|
||||
return true;
|
||||
} catch (error) {
|
||||
} catch {
|
||||
// If we can't assign to any property (readonly), skip this env var silently
|
||||
return false;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue