use resolve instead of normalize

This commit is contained in:
bethanyj28 committed 2024-02-23 15:15:17 -05:00
1 parent 60b28667c0
commit e23c2209ac
1 file changed
+1 -1
+1 -1
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
}