Skip to content

Commit 9960288

Browse files
authored
Update lib/utils.cpp
1 parent 811479e commit 9960288

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/utils.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ bool isValidGlobPattern(const std::string& pattern)
4444
for (auto i = pattern.cbegin(); i != pattern.cend(); ++i) {
4545
if (*i == '*') {
4646
++consecutiveAsterisks;
47-
if ( consecutiveAsterisks > 2 ) {
47+
if (consecutiveAsterisks > 2) {
4848
return false;
4949
}
5050
} else if (*i == '?') {

0 commit comments

Comments
 (0)