Merge pull request #14780 from backstage/freben/globals

avoid globals
This commit is contained in:
Fredrik Adelöw
2022-11-22 20:18:27 +01:00
committed by GitHub
19 changed files with 212 additions and 21 deletions
+1 -1
View File
@@ -179,7 +179,7 @@ export class Git {
});
} catch (ex) {
this.config.logger?.error(
`Failed to fetch repo {dir=${dir},origin=${origin}}`,
`Failed to fetch repo {dir=${dir},remote=${remote}}`,
);
if (ex.data) {
throw new Error(`${ex.message} {data=${JSON.stringify(ex.data)}}`);