Skip to content

Commit f345199

Browse files
committed
lint
1 parent 0b16a31 commit f345199

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/version_weaver.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,8 @@ std::optional<std::string> incrementVersion(std::string_view version) {
117117
// If there is a pre-release part, return the version in pre-release format
118118
// (for example “1.2.3-beta.0”)
119119
if (!preRelease.empty()) {
120-
return std::format("{}.{}.{}-{}.0", major, minor, patch, std::string(preRelease));
120+
return std::format("{}.{}.{}-{}.0", major, minor, patch,
121+
std::string(preRelease));
121122
}
122123

123124
// if there is no pre-release, increment patch and return the result.

0 commit comments

Comments
 (0)