Skip to content

Commit 596b551

Browse files
committed
Fix build warning
`name` should have been in a string interpolation here. This makes swift-syntax build without warnings
1 parent 9aa0907 commit 596b551

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/SwiftIfConfig/BuildConfiguration.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ enum BuildConfigurationError: Error, CustomStringConvertible {
4343
var description: String {
4444
switch self {
4545
case .experimentalFeature(let name):
46-
return "'name' is an experimental feature"
46+
return "'\(name)' is an experimental feature"
4747
}
4848
}
4949
}

0 commit comments

Comments
 (0)