Skip to content

Commit

Permalink
fix: add return value to subtractRuntime fn
Browse files Browse the repository at this point in the history
  • Loading branch information
hai-x committed Apr 21, 2024
1 parent b630e21 commit 918ab50
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/util/runtime.js
Expand Up @@ -390,6 +390,7 @@ const subtractRuntime = (a, b) => {
}
const set = new SortableSet(a);
set.delete(b);
return set;
} else {
const set = new SortableSet();
for (const item of a) {
Expand Down

0 comments on commit 918ab50

Please sign in to comment.