mirror of
https://gitea.com/actions/gitea-release-action.git
synced 2026-10-02 18:16:06 +03:00
fix
This commit is contained in:
1 parent
e5dc3bb694
commit
9ed6f482bf
2 files changed
+2
-2
No files matched your search
@@ -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())
|
||||
);
|
||||
}, []);
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user