mirror of https://github.com/actions/toolkit
Update packages/artifact/src/internal/download/download-artifact.ts
Co-authored-by: Tingluo Huang <tingluohuang@github.com>pull/1666/head
parent
8a1800c5da
commit
f77cbc9ef7
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue