Skip to content

Commit

Permalink
fix: pointless check
Browse files Browse the repository at this point in the history
  • Loading branch information
rarkins committed Feb 22, 2020
1 parent f0f8fd1 commit 7dba5ed
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions lib/platform/gitea/index.ts
Expand Up @@ -287,12 +287,10 @@ const platform: Platform = {
// Optionally check if Renovate is disabled by attempting to fetch default configuration file
if (optimizeForDisabled) {
try {
if (!renovateConfig) {
renovateConfig = await retrieveDefaultConfig(
config.repository,
config.defaultBranch
);
}
renovateConfig = await retrieveDefaultConfig(
config.repository,
config.defaultBranch
);
} catch (err) {
// Do nothing
}
Expand Down

0 comments on commit 7dba5ed

Please sign in to comment.