From f77cbc9ef712200a1572866c6f41567e9dc3c2e9 Mon Sep 17 00:00:00 2001 From: Bethany Date: Fri, 23 Feb 2024 15:20:01 -0500 Subject: [PATCH] Update packages/artifact/src/internal/download/download-artifact.ts Co-authored-by: Tingluo Huang --- packages/artifact/src/internal/download/download-artifact.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/artifact/src/internal/download/download-artifact.ts b/packages/artifact/src/internal/download/download-artifact.ts index a5574e82..ef78faa4 100644 --- a/packages/artifact/src/internal/download/download-artifact.ts +++ b/packages/artifact/src/internal/download/download-artifact.ts @@ -104,7 +104,7 @@ export async function streamExtractExternal( new stream.Transform({ objectMode: true, transform: async (entry, _, callback) => { - const fullPath = path.resolve(path.join(directory, entry.path)) + const fullPath = path.resolve(directory, entry.path) if (!directory.endsWith(path.sep)) { directory += path.sep }