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()) ); }, []); };