Skip to content

Commit 7657968

Browse files
committed
testing sonar scnanning
1 parent ebd3a62 commit 7657968

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

webui/src/js/utils/image-pusher.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ function(ImageRegistryActionsBase, project, wktConsole, i18n, projectIo, dialogH
9090
} finally {
9191
dialogHelper.closeBusyDialog();
9292
}
93-
};
93+
}
9494

9595
getValidatableObject(flowNameKey) {
9696
const validationObject = validationHelper.createValidatableObject(flowNameKey);

webui/src/js/utils/image-script-generator.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ define(['models/wkt-project', 'utils/script-generator-base'],
180180
if (usingWdt) {
181181
comment = 'Add WebLogic Deploy Tooling installer to the WebLogic Image Tool cache';
182182
const wdtInstaller = this.adapter.getVariableReference('WDT_INSTALLER');
183-
let errMessage = `Failed to add WebLogic Deploy Tooling installer ${wdtInstaller} with version ` +
183+
const errMessage = `Failed to add WebLogic Deploy Tooling installer ${wdtInstaller} with version ` +
184184
`${wdtVersion} to the WebLogic Image Tool cache`;
185185
this.adapter.addWitCacheCommandBlock(comment, script, 'wdt', wdtInstaller, wdtVersion, errMessage);
186186
}
@@ -435,7 +435,7 @@ define(['models/wkt-project', 'utils/script-generator-base'],
435435
const imagePushRequiresAuthentication = this.adapter.getVariableReference('IMAGE_PUSH_REQUIRES_AUTH');
436436
const user = this.adapter.getVariableReference('IMAGE_REGISTRY_PUSH_USER');
437437
const password = this.adapter.getVariableReference('IMAGE_REGISTRY_PUSH_PASS');
438-
const errMessage = `Failed to log in to the image registry ${imageRegistryName}`;
438+
errMessage = `Failed to log in to the image registry ${imageRegistryName}`;
439439
this.adapter.addDockerLoginBlock(imagePushRequiresAuthentication, imageRegistryHost, user, password, builder, errMessage);
440440
}
441441

0 commit comments

Comments
 (0)