update casing

This commit is contained in:
Omer Farooq
2020-08-29 23:08:36 +12:00
parent 36376778ec
commit 4b85a3ac21
2 changed files with 3 additions and 3 deletions
@@ -19,7 +19,7 @@ import { ConfigReader } from '@backstage/config';
describe('BitbucketApiReaderProcessor', () => {
const createConfig = (
userName: string | undefined,
username: string | undefined,
appPassword: string | undefined,
) =>
ConfigReader.fromConfigs([
@@ -29,7 +29,7 @@ describe('BitbucketApiReaderProcessor', () => {
catalog: {
processors: {
bitbucketApi: {
userName: userName,
username: username,
appPassword: appPassword,
},
},
@@ -27,7 +27,7 @@ export class BitbucketApiReaderProcessor implements LocationProcessor {
constructor(config: Config) {
this.username =
(config.getOptional(
'catalog.processors.bitbucketApi.userName',
'catalog.processors.bitbucketApi.username',
) as string) ?? '';
this.password =
(config.getOptional(