Skip to content

Commit

Permalink
[CI] Auto-commit changed files from 'node scripts/precommit_hook.js -…
Browse files Browse the repository at this point in the history
…-ref HEAD~1..HEAD --fix'
  • Loading branch information
kibanamachine committed Aug 31, 2022
1 parent fcc2b9a commit a15e0aa
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,9 @@ function getMockOptions({
auditLogger = auditLoggerMock.create();
auditService.asScoped.mockReturnValue(auditLogger);

const accessAgreementObj = accessAgreementMessage ? {accessAgreement: { message: accessAgreementMessage }} : null;
const accessAgreementObj = accessAgreementMessage
? { accessAgreement: { message: accessAgreementMessage } }
: null;

return {
audit: auditService,
Expand All @@ -72,7 +74,7 @@ function getMockOptions({
config: createConfig(
ConfigSchema.validate({
authc: { selector, providers, http },
...accessAgreementObj
...accessAgreementObj,
}),
loggingSystemMock.create().get(),
{ isTLSEnabled: false }
Expand Down

0 comments on commit a15e0aa

Please sign in to comment.