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(