go back to normalize)

This commit is contained in:
bethanyj28 committed 2024-02-23 15:28:25 -05:00
1 parent 0dfb9eb860
commit 86f0c656eb
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.resolve(directory, entry.path)
const fullPath = path.normalize(path.join(directory, entry.path))
if (!directory.endsWith(path.sep)) {
directory += path.sep
}