Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions src/abstract/RainDeploySuitesBase.sol
Original file line number Diff line number Diff line change
Expand Up @@ -197,6 +197,10 @@ abstract contract RainDeploySuitesBase {
/// @return names The declared keys.
function suiteNames() internal pure returns (string memory names) {
DeploySuite[] memory suites = allSuites();
// Seeded here so every path out of this function assigns `names`,
// provable from this body alone. `allSuites` never yields an empty set,
// but that is a fact about another function.
names = "";
for (uint256 i = 0; i < suites.length; i++) {
names = i == 0 ? suites[i].suite : string.concat(names, ", ", suites[i].suite);
}
Expand Down
Loading