Skip to content

Commit

Permalink
Add additional user config environment variable
Browse files Browse the repository at this point in the history
  • Loading branch information
brwai committed Oct 3, 2024
1 parent 07325b4 commit bb214af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/ado-npm-auth/src/fileProvider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ export abstract class FileProvider {
this.userFilePath = userConfigFile;
} else {
const userHome =
process.env["HOME"] || process.env["USERPROFILE"] || homedir() || "";
process.env["ADO_NPM_AUTH_USER_CONFIG"] || process.env["HOME"] || process.env["USERPROFILE"] || homedir() || "";
this.userFilePath = join(userHome, workspaceFileName);
}
this.feeds = new Map<string, Feed>();
Expand Down

0 comments on commit bb214af

Please sign in to comment.