mirror of https://github.com/actions/toolkit
go back to normalize)
parent
f77cbc9ef7
commit
7fa864a4f4
|
@ -104,7 +104,7 @@ export async function streamExtractExternal(
|
|||
new stream.Transform({
|
||||
objectMode: true,
|
||||
transform: async (entry, _, callback) => {
|
||||
const fullPath = path.resolve(directory, entry.path)
|
||||
const fullPath = path.normalize(path.join(directory, entry.path))
|
||||
if (!directory.endsWith(path.sep)) {
|
||||
directory += path.sep
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue