Unverified Commit 84b3b283 authored by Josh Gross's avatar Josh Gross Committed by GitHub
Browse files

Await io mkdirP (#100)

parent 8d14a215
Loading
Loading
Loading
Loading
+2 −1
Changes for src/restore.ts: 2 added lines, 1 removed line.
Original line number Diff line number Diff line
@@ -86,7 +86,8 @@ async function run(): Promise<void> {
                )} MB (${archiveFileSize} B)`
            );

            io.mkdirP(cachePath);
            // Create directory to extract tar into
            await io.mkdirP(cachePath);

            // http://man7.org/linux/man-pages/man1/tar.1.html
            // tar [-options] <name of the tar archive> [files or directories which to add into archive]