mirror of
https://gitea.com/actions/gitea-release-action.git
synced 2024-11-22 01:59:37 +01:00
fix
This commit is contained in:
parent
e5dc3bb694
commit
9ed6f482bf
2 changed files with 2 additions and 2 deletions
2
dist/index.js
vendored
2
dist/index.js
vendored
|
@ -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())
|
||||
);
|
||||
}, []);
|
||||
};
|
||||
|
|
2
main.js
2
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())
|
||||
);
|
||||
}, []);
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue