Remove the duplicated scheduleFn initialization in GitHubEntityProvider
Signed-off-by: Mengnan Gong <namco1992@gmail.com>
This commit is contained in:
@@ -98,7 +98,6 @@ export class GitHubEntityProvider implements EntityProvider {
|
||||
this.scheduleFn = this.createScheduleFn(schedule);
|
||||
this.githubCredentialsProvider =
|
||||
SingleInstanceGithubCredentialsProvider.create(integration.config);
|
||||
this.scheduleFn = this.createScheduleFn(schedule);
|
||||
}
|
||||
|
||||
/** {@inheritdoc @backstage/plugin-catalog-backend#EntityProvider.getProviderName} */
|
||||
|
||||
Reference in New Issue
Block a user