mirror of
https://github.com/renovatebot/github-action.git
synced 2025-12-18 01:42:34 +00:00
Apply suggestions from code review
This commit is contained in:
parent
f2fabc5e65
commit
b00aebe09d
1 changed files with 3 additions and 3 deletions
|
|
@ -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<void> {
|
||||
const configurationFile = this.input.configurationFile();
|
||||
if (
|
||||
configurationFile !== null &&
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue