From 9ed6f482bfdebd646f9c23a33ebe9f4233fcb665 Mon Sep 17 00:00:00 2001 From: Akkuman Date: Sat, 2 Dec 2023 13:18:10 +0800 Subject: [PATCH] fix --- dist/index.js | 2 +- main.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dist/index.js b/dist/index.js index 7761f66..28ddcb0 100644 --- a/dist/index.js +++ b/dist/index.js @@ -40971,7 +40971,7 @@ async function createOrGetRelease(client, owner, repo, body) { function paths(patterns) { return patterns.reduce((acc, pattern) => { return acc.concat( - sync(pattern).filter((path) => statSync(path).isFile()) + sync(pattern).filter((path) => external_fs_.statSync(path).isFile()) ); }, []); }; diff --git a/main.js b/main.js index 7bc2fe1..b868518 100644 --- a/main.js +++ b/main.js @@ -84,7 +84,7 @@ async function createOrGetRelease(client, owner, repo, body) { function paths(patterns) { return patterns.reduce((acc, pattern) => { return acc.concat( - glob.sync(pattern).filter((path) => statSync(path).isFile()) + glob.sync(pattern).filter((path) => fs.statSync(path).isFile()) ); }, []); };