From e247d872b148595b9aa4a3c9d0e5cbaf8225d49b Mon Sep 17 00:00:00 2001 From: Adam Harvey Date: Thu, 4 Mar 2021 12:26:42 -0500 Subject: [PATCH] Replace domain with host in temp folder Signed-off-by: Adam Harvey --- packages/techdocs-common/src/helpers.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/techdocs-common/src/helpers.ts b/packages/techdocs-common/src/helpers.ts index ec58bb7b40..be35a0b521 100644 --- a/packages/techdocs-common/src/helpers.ts +++ b/packages/techdocs-common/src/helpers.ts @@ -107,7 +107,7 @@ export const getGitRepositoryTempFolder = async ( // fs.realpathSync fixes a problem with macOS returning a path that is a symlink fs.realpathSync(os.tmpdir()), 'backstage-repo', - parsedGitLocation.source, + parsedGitLocation.resource, parsedGitLocation.owner, parsedGitLocation.name, parsedGitLocation.ref,