mirror of
https://github.com/softprops/action-gh-release.git
synced 2025-05-10 10:44:19 +00:00
Update util.ts
This commit is contained in:
parent
b337a4dc23
commit
213431742d
1 changed files with 1 additions and 1 deletions
|
@ -51,7 +51,7 @@ export const parseInputFiles = (files: string): string[] => {
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|
||||||
export const parseInputListfile = (filelist: string): string[] => {
|
export const parseInputListfile = (filelist: string, files: string): string[] => {
|
||||||
files = readFileSync(filelist).toString("utf8"))
|
files = readFileSync(filelist).toString("utf8"))
|
||||||
return files.split(/\r?\n/).reduce<string[]>(
|
return files.split(/\r?\n/).reduce<string[]>(
|
||||||
(acc, line) =>
|
(acc, line) =>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue