Skip to content

Commit

Permalink
Update the package to the latest version
Browse files Browse the repository at this point in the history
  • Loading branch information
Mattraks committed Feb 15, 2022
1 parent 8551bfa commit 2342eb6
Show file tree
Hide file tree
Showing 269 changed files with 50,158 additions and 59,335 deletions.
5 changes: 1 addition & 4 deletions dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,10 +52,7 @@ async function run() {
core.debug(`Delete list for '${workflow.name}' is ${del_runs.length} items`);
const arr_length = del_runs.length - keep_minimum_runs;
if (arr_length > 0) {
del_runs = del_runs
.sort((a, b) => {
return a.id - b.id;
});
del_runs = del_runs.sort((a, b) => { return a.id - b.id; });
if (keep_minimum_runs !== 0) {
Skip_runs = del_runs.slice(-keep_minimum_runs);
del_runs = del_runs.slice(0, -keep_minimum_runs);
Expand Down
226 changes: 226 additions & 0 deletions node_modules/.package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 2342eb6

Please sign in to comment.