From bcc34e34036e282fd813b880e16da37d6ea87f7f Mon Sep 17 00:00:00 2001 From: Jaiveer Katariya Date: Wed, 31 Jul 2024 13:23:12 -0400 Subject: [PATCH] cleanup --- src/utilities/fileUtils.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utilities/fileUtils.ts b/src/utilities/fileUtils.ts index 0bc7a2b8a..7830371dd 100644 --- a/src/utilities/fileUtils.ts +++ b/src/utilities/fileUtils.ts @@ -85,7 +85,7 @@ export function moveFileToTmpDir(originalFilepath: string) { function getNewTempManifestFileName(kind: string, name: string) { const filePath = `${kind}_${name}_${getCurrentTime().toString()}` const tempDirectory = getTempDirectory() - return path.join(tempDirectory, filePath) + return path.join(tempDirectory, path.basename(filePath)) } export async function getFilesFromDirectoriesAndURLs(