KISS: no need for toString()

This commit is contained in:
Alan Crosswell
2021-01-19 10:32:15 -05:00
parent a7c0da02e8
commit 97df886e1c
@@ -42,7 +42,7 @@ export class GitlabPreparer implements PreparerBase {
const parsedGitLocation = parseGitUrl(location);
const repositoryCheckoutUrl = parsedGitLocation.toString('https');
const ref = parsedGitLocation.toString('ref');
const ref = parsedGitLocation.ref;
const tempDir = await fs.promises.mkdtemp(
path.join(workingDirectory, templateId),
);