1
0
Fork 0

use resolve instead of normalize

pull/1666/head
bethanyj28 2024-02-23 15:15:17 -05:00
parent 90894a8853
commit 8a1800c5da
1 changed files with 1 additions and 1 deletions

View File

@ -104,7 +104,7 @@ export async function streamExtractExternal(
new stream.Transform({
objectMode: true,
transform: async (entry, _, callback) => {
const fullPath = path.normalize(path.join(directory, entry.path))
const fullPath = path.resolve(path.join(directory, entry.path))
if (!directory.endsWith(path.sep)) {
directory += path.sep
}