From 84b3b283f038371f6f9ab774cf8fbcb7f49edce3 Mon Sep 17 00:00:00 2001 From: Josh Gross Date: Fri, 15 Nov 2019 10:25:57 -0500 Subject: [PATCH] Await io mkdirP (#100) --- src/restore.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/restore.ts b/src/restore.ts index 5d9da4a..87a2684 100644 --- a/src/restore.ts +++ b/src/restore.ts @@ -86,7 +86,8 @@ async function run(): Promise { )} 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] [files or directories which to add into archive]