From ab0ccc398bf91e01e8ddb563e649a9584db05684 Mon Sep 17 00:00:00 2001 From: Saagar Jha Date: Fri, 27 May 2022 14:59:34 -0700 Subject: [PATCH] Wait to create parent directory before linking --- unxip.swift | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/unxip.swift b/unxip.swift index 2d6e535..32cf58c 100644 --- a/unxip.swift +++ b/unxip.swift @@ -416,7 +416,7 @@ struct Main { // The assumption is that all directories are provided without trailing slashes func parentDirectory(of path: S) -> S.SubSequence { - return path[..