Skip to content

Commit f63d31a

Browse files
authored
credential type is not a secret (#1517)
1 parent 8a8ecd4 commit f63d31a

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

dist/main/index.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/main/index.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/main.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,7 @@ export function credentialsFromEnv(): Credential[] {
238238
botSay('Failed to parse GITHUB_REGISTRIES_PROXY environment variable')
239239
}
240240

241-
const nonSecrets = ['url', 'username', 'host', 'replaces-base']
241+
const nonSecrets = ['type', 'url', 'username', 'host', 'replaces-base']
242242
for (const e of parsed) {
243243
// Mask credentials to reduce chance of accidental leakage in logs.
244244
for (const key of Object.keys(e)) {

0 commit comments

Comments
 (0)