Skip to content

Commit

Permalink
bail if no uploads requested
Browse files Browse the repository at this point in the history
  • Loading branch information
TodePond committed Jan 25, 2025
1 parent 7aa0e1e commit fa175c6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/std.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@ function listToArray(stringList) {

function spagda(nameList) {
const names = listToArray(nameList);
if (names.length === 0) {
return;
}
const map = {};
for (const name of names) {
map[name] = spag(name);
Expand Down

0 comments on commit fa175c6

Please sign in to comment.