Skip to content

Commit a95194d

Browse files
[garderning] fix typo "ranage" → "range"
1 parent a559014 commit a95194d

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Sources/TSCUtility/Version.swift

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -268,11 +268,10 @@ extension Range where Bound == Version {
268268
}
269269

270270
extension Range where Bound == Version {
271-
272271
public func contains(version: Version) -> Bool {
273272
// Special cases if version contains prerelease identifiers.
274273
if !version.prereleaseIdentifiers.isEmpty {
275-
// If the ranage does not contain prerelease identifiers, return false.
274+
// If the range does not contain prerelease identifiers, return false.
276275
if lowerBound.prereleaseIdentifiers.isEmpty && upperBound.prereleaseIdentifiers.isEmpty {
277276
return false
278277
}

0 commit comments

Comments
 (0)