bug: filepath can be returned as undefined from git-url-parse let's default to empty
This commit is contained in:
@@ -43,7 +43,7 @@ export class BitbucketPreparer implements PreparerBase {
|
||||
const targetPath = path.join(workspacePath, 'template');
|
||||
const fullPathToTemplate = path.resolve(
|
||||
checkoutPath,
|
||||
parsedGitUrl.filepath,
|
||||
parsedGitUrl.filepath ?? '',
|
||||
);
|
||||
|
||||
const git = Git.fromAuth({ logger, ...this.getAuth() });
|
||||
|
||||
Reference in New Issue
Block a user