mirror of
https://git.mirrors.martin98.com/https://github.com/actions/toolkit
synced 2025-08-21 08:29:07 +08:00
Update packages/artifact/src/internal/download/download-artifact.ts
Co-authored-by: Tingluo Huang <tingluohuang@github.com>
This commit is contained in:
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…
x
Reference in New Issue
Block a user