Formatting and Linting
Signed-off-by: Gregory Yogan <gregory.yogan@unity3d.com>
This commit is contained in:
@@ -124,7 +124,7 @@ export class GithubMultiOrgReaderProcessor implements CatalogProcessor {
|
||||
`Read ${users.length} GitHub users and ${groups.length} GitHub teams from ${orgConfig.name} in ${duration} seconds`,
|
||||
);
|
||||
|
||||
var prefix:string = orgConfig.userNamespace ?? '';
|
||||
let prefix: string = orgConfig.userNamespace ?? '';
|
||||
if (prefix.length > 0) prefix += '/';
|
||||
|
||||
users.forEach(u => {
|
||||
|
||||
@@ -112,7 +112,8 @@ describe('config', () => {
|
||||
]);
|
||||
});
|
||||
|
||||
it('defaults userNamespace to undefined if unspecified', () => { const output = readGithubMultiOrgConfig(
|
||||
it('defaults userNamespace to undefined if unspecified', () => {
|
||||
const output = readGithubMultiOrgConfig(
|
||||
config([{ name: 'foo' }, { name: 'bar' }]),
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user