fix issue with config file reading the wrong options
Some checks failed
AWS-Zig Build / build-zig-amd64-host (push) Failing after 14m17s

This commit is contained in:
Emil Lerch 2026-02-02 17:11:44 -08:00
parent 31240cd21e
commit 4df27142d0
Signed by: lobo
GPG key ID: A7B62D657EF764F8

View file

@ -412,8 +412,8 @@ fn getProfileCredentials(allocator: std.mem.Allocator, options: Profile) !?auth.
default_path = default_path orelse creds_file_path.home;
const config_file_path = try filePath(
allocator,
options.credential_file,
"AWS_SHARED_CREDENTIALS_FILE",
options.config_file,
"AWS_CONFIG_FILE",
default_path,
"config",
);