We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6ae5ed4 commit 10d059eCopy full SHA for 10d059e
src/version_weaver.cpp
@@ -7,7 +7,7 @@ namespace version_weaver {
7
bool validate(std::string_view version) { return parse(version).has_value(); }
8
9
std::string coerce(const std::string& version) {
10
- if (version.empty() || std::all_of(version.begin(), version.end(), isspace)) {
+ if (version.empty()) {
11
return "0.0.0";
12
}
13
0 commit comments