From f3ff6faa88d9202566bbe069fc39a1ec9b1ec583 Mon Sep 17 00:00:00 2001 From: Saksham Gupta Date: Tue, 5 Nov 2024 16:25:02 +0530 Subject: [PATCH] removed full stop --- lib/runner/extensions/event.command.js | 2 +- test/integration/sanity/vaultSecrets.test.js | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/runner/extensions/event.command.js b/lib/runner/extensions/event.command.js index 13963d3cb..70ee02ca8 100644 --- a/lib/runner/extensions/event.command.js +++ b/lib/runner/extensions/event.command.js @@ -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)) { diff --git a/test/integration/sanity/vaultSecrets.test.js b/test/integration/sanity/vaultSecrets.test.js index 49de60864..d7f7dd8ab 100644 --- a/test/integration/sanity/vaultSecrets.test.js +++ b/test/integration/sanity/vaultSecrets.test.js @@ -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 () { @@ -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'); }); }); @@ -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'); }); }); });