From b00aebe09d4665c68cdef329c38e3c6c8785b7c5 Mon Sep 17 00:00:00 2001 From: Michael Kriese Date: Tue, 13 Feb 2024 15:59:45 +0100 Subject: [PATCH] Apply suggestions from code review --- src/renovate.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/renovate.ts b/src/renovate.ts index 8ad3fbc0..38111ad5 100644 --- a/src/renovate.ts +++ b/src/renovate.ts @@ -101,11 +101,11 @@ class Renovate { if (/\s/.test(this.input.token.value)) { throw new Error('Token MUST NOT contain whitespace'); } - this.validateConfigFileArgument(); - this.validateDockerCmdFileArgument(); + await this.validateConfigFileArgument(); + await this.validateDockerCmdFileArgument(); } - private validateConfigFileArgument(): void { + private async validateConfigFileArgument(): Promise { const configurationFile = this.input.configurationFile(); if ( configurationFile !== null &&