Skip to content

Commit

Permalink
fix starlark util
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisdothtml committed Jan 10, 2025
1 parent f7d526f commit 41519af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utils/starlark.js
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ const sortCallArgItems /*: SortCallArgItems */ = (code, caller, argName) => {
.filter(Boolean)
.sort()
.join(',');
return `[${sorted},${dedent}]`.replace(/,]/, ']');
return `[${sorted},${dedent}]`.replace(/,]/, ']').replace(/\[,/, '[');
});
});
});
Expand Down

0 comments on commit 41519af

Please sign in to comment.