Skip to content

Commit

Permalink
fix: Wrong Ordering of AutoSettingsLoader Loaders
Browse files Browse the repository at this point in the history
  • Loading branch information
andymac4182 committed Apr 28, 2023
1 parent 14a073a commit 4b1dc22
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/lib/src/Settings.ts
Expand Up @@ -234,10 +234,10 @@ export class AutoSettingsLoader extends SettingsLoader {
super();

if (loaders.length === 0) {
this.loaders.push(new DefaultSettingsLoader());
this.loaders.push(new ConfigFileSettingsLoader());
this.loaders.push(new EnvironmentVariableSettingsLoader());
this.loaders.push(new CommandLineArgumentSettingsLoader());
this.loaders.push(new DefaultSettingsLoader());
}
}

Expand Down

0 comments on commit 4b1dc22

Please sign in to comment.