mirror of
https://code.forgejo.org/actions/git-backporting.git
synced 2025-05-14 01:29:12 -04:00
feat: config file as option (#42)
Fix https://github.com/lampajr/backporting/issues/37 This enhancement required a huge refactoring where all arguments defaults have been centralized in one single place ArgsParser#parse
This commit is contained in:
parent
a88adeec35
commit
5ead31f606
27 changed files with 1465 additions and 219 deletions
|
@ -10,10 +10,10 @@ import { LocalGit } from "@bp/service/configs/configs.types";
|
|||
export default class GitCLIService {
|
||||
|
||||
private readonly logger: LoggerService;
|
||||
private readonly auth: string;
|
||||
private readonly auth: string | undefined;
|
||||
private readonly gitData: LocalGit;
|
||||
|
||||
constructor(auth: string, gitData: LocalGit) {
|
||||
constructor(auth: string | undefined, gitData: LocalGit) {
|
||||
this.logger = LoggerServiceFactory.getLogger();
|
||||
this.auth = auth;
|
||||
this.gitData = gitData;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue