This commit is contained in:
Akkuman 2023-12-02 13:18:10 +08:00
parent e5dc3bb694
commit 9ed6f482bf
2 changed files with 2 additions and 2 deletions

2
dist/index.js vendored
View file

@ -40971,7 +40971,7 @@ async function createOrGetRelease(client, owner, repo, body) {
function paths(patterns) { function paths(patterns) {
return patterns.reduce((acc, pattern) => { return patterns.reduce((acc, pattern) => {
return acc.concat( return acc.concat(
sync(pattern).filter((path) => statSync(path).isFile()) sync(pattern).filter((path) => external_fs_.statSync(path).isFile())
); );
}, []); }, []);
}; };

View file

@ -84,7 +84,7 @@ async function createOrGetRelease(client, owner, repo, body) {
function paths(patterns) { function paths(patterns) {
return patterns.reduce((acc, pattern) => { return patterns.reduce((acc, pattern) => {
return acc.concat( return acc.concat(
glob.sync(pattern).filter((path) => statSync(path).isFile()) glob.sync(pattern).filter((path) => fs.statSync(path).isFile())
); );
}, []); }, []);
}; };