Skip to content

Commit

Permalink
removed full stop
Browse files Browse the repository at this point in the history
  • Loading branch information
saksham-postman committed Nov 5, 2024
1 parent fe1072d commit f3ff6fa
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion lib/runner/extensions/event.command.js
Original file line number Diff line number Diff line change
Expand Up @@ -411,7 +411,7 @@ module.exports = {
const dispatch = (e, r) => { this.host.dispatch(EXECUTION_VAULT_BASE + executionId, id, e, r); };

if (!hasVaultAccess) {
return dispatch('Vault access denied. Check your Vault settings.');
return dispatch('Vault access denied. Check your Vault settings');
}

if (!['get', 'set', 'unset'].includes(cmd)) {
Expand Down
6 changes: 3 additions & 3 deletions test/integration/sanity/vaultSecrets.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -1065,7 +1065,7 @@ describe('vaultSecrets', function () {
});

// eslint-disable-next-line @stylistic/js/max-len
expect(testrun.exception.firstCall.args[1]).to.have.property('message', 'Vault access denied. Check your Vault settings.');
expect(testrun.exception.firstCall.args[1]).to.have.property('message', 'Vault access denied. Check your Vault settings');
});

it('should not contain vault secrets', function () {
Expand Down Expand Up @@ -1189,7 +1189,7 @@ describe('vaultSecrets', function () {
var consoleArgs = testrun.console.getCall(0).args.slice(2);

expect(consoleArgs[0]).to.equal('Vault error:');
expect(consoleArgs[1]).to.equal('Vault access denied. Check your Vault settings.');
expect(consoleArgs[1]).to.equal('Vault access denied. Check your Vault settings');
});
});

Expand Down Expand Up @@ -1239,7 +1239,7 @@ describe('vaultSecrets', function () {
var consoleArgs = testrun.console.getCall(0).args.slice(2);

expect(consoleArgs[0]).to.equal('Vault error:');
expect(consoleArgs[1]).to.equal('Vault access denied. Check your Vault settings.');
expect(consoleArgs[1]).to.equal('Vault access denied. Check your Vault settings');
});
});
});
Expand Down

0 comments on commit f3ff6fa

Please sign in to comment.