Skip to content

Commit 9e93efc

Browse files
fix format and rebuild dist file
1 parent a7f304e commit 9e93efc

4 files changed

Lines changed: 24 additions & 5 deletions

File tree

__tests__/updater.test.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,8 @@ describe('Updater', () => {
162162
[
163163
{
164164
type: 'npm_registry',
165-
registry: 'jfrogghdemo.jfrog.io/artifactory/api/npm/dpndbt-pvt-repo-npm-key/',
165+
registry:
166+
'jfrogghdemo.jfrog.io/artifactory/api/npm/dpndbt-pvt-repo-npm-key/',
166167
username: 'npm_user',
167168
token: 'npm_token',
168169
scope: '@mycompany'
@@ -174,7 +175,8 @@ describe('Updater', () => {
174175
expect(jobDetails['credentials-metadata']).toEqual([
175176
{
176177
type: 'npm_registry',
177-
registry: 'jfrogghdemo.jfrog.io/artifactory/api/npm/dpndbt-pvt-repo-npm-key/',
178+
registry:
179+
'jfrogghdemo.jfrog.io/artifactory/api/npm/dpndbt-pvt-repo-npm-key/',
178180
scope: '@mycompany'
179181
}
180182
])

dist/main/index.js

Lines changed: 11 additions & 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: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -448,7 +448,14 @@ export function credentialsFromEnv(): Credential[] {
448448
botSay('Failed to parse GITHUB_REGISTRIES_PROXY environment variable')
449449
}
450450

451-
const nonSecrets = ['type', 'url', 'username', 'host', 'replaces-base', 'scope']
451+
const nonSecrets = [
452+
'type',
453+
'url',
454+
'username',
455+
'host',
456+
'replaces-base',
457+
'scope'
458+
]
452459
for (const e of parsed) {
453460
// Mask credentials to reduce chance of accidental leakage in logs.
454461
for (const key of Object.keys(e)) {

0 commit comments

Comments
 (0)