1
0
Fork 0

go back to normalize)

pull/1666/head
bethanyj28 2024-02-23 15:28:25 -05:00
parent f77cbc9ef7
commit 7fa864a4f4
1 changed files with 1 additions and 1 deletions

View File

@ -104,7 +104,7 @@ export async function streamExtractExternal(
new stream.Transform({ new stream.Transform({
objectMode: true, objectMode: true,
transform: async (entry, _, callback) => { 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)) { if (!directory.endsWith(path.sep)) {
directory += path.sep directory += path.sep
} }