Skip to content

Conversation

dlindstrm
Copy link
Contributor

If no options is passed to setInternetCredentials it will throw an error.

@@ -177,7 +177,7 @@ export function setInternetCredentials(
server,
username,
password,
options ? normalizeOptions(options) : {}
normalizeOptions(options)
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Or maybe like this:

Suggested change
normalizeOptions(options)
options ? normalizeOptions(options) : { authenticationPrompt: AUTH_PROMPT_DEFAULTS }

@DorianMazur DorianMazur merged commit 1cd6076 into oblador:master Nov 13, 2024
@DorianMazur
Copy link
Collaborator

Ah, I missed that. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants