From ab443aa555035b0c8e1c9b1e78b29b85cfe80ed3 Mon Sep 17 00:00:00 2001 From: Titouan Mathis Date: Tue, 12 May 2020 15:24:37 +0200 Subject: [PATCH] fix: allow folders to be removed (#144) --- lib/runActions.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/runActions.js b/lib/runActions.js index 603609d..5e9338b 100644 --- a/lib/runActions.js +++ b/lib/runActions.js @@ -146,7 +146,8 @@ module.exports = async (config, context) => { } const files = await glob(patterns, { cwd: context.outDir, - absolute: true + absolute: true, + onlyFiles: false }) await Promise.all( files.map(file => {