chore: might as well do this for all parsing

This commit is contained in:
blam
2021-02-11 20:10:20 +01:00
parent c1164fb6a8
commit c6a67b100e
2 changed files with 2 additions and 2 deletions
@@ -33,7 +33,7 @@ export class GithubPreparer implements PreparerBase {
const targetPath = path.join(workspacePath, 'template');
const fullPathToTemplate = path.resolve(
checkoutPath,
parsedGitUrl.filepath,
parsedGitUrl.filepath ?? '',
);
const git = this.config.token
@@ -33,7 +33,7 @@ export class GitlabPreparer implements PreparerBase {
const targetPath = path.join(workspacePath, 'template');
const fullPathToTemplate = path.resolve(
checkoutPath,
parsedGitUrl.filepath,
parsedGitUrl.filepath ?? '',
);
parsedGitUrl.git_suffix = true;