From 24cfb5bc53d4ab90387a5209282f0a30a06a6134 Mon Sep 17 00:00:00 2001 From: Bret Comnes Date: Tue, 18 Feb 2020 11:26:19 -0700 Subject: [PATCH] bug: fix internal stat check bug --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index 1fd2a62..0bbb642 100644 --- a/index.js +++ b/index.js @@ -12,7 +12,7 @@ async function doDeploy () { const cleanup = JSON.parse(core.getInput('cleanup')) assert(typeof cleanup === 'boolean', 'Cleanup input must be a boolean "true" or "false"') - const stat = await fsp.stat() + const stat = await fsp.stat(distDir) assert(stat.isDirectory(), 'dist_dir must be a directory that exists') const client = new Neocities(token)