Skip to content

Commit 22a6b84

Browse files
committed
Typo
1 parent 4f44d44 commit 22a6b84

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Package.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -470,8 +470,8 @@ extension Array where Element == PackageDescription.CXXSetting {
470470

471471
// Capture the testing library's commit info as C++ constants.
472472
if let git {
473-
let testingLibraryVersion = if let tag = git.currentTag {
474-
result.append(.define("SWT_TESTING_LIBRARY_VERSION", to: #""\#(testingLibraryVersion)""#))
473+
if let tag = git.currentTag {
474+
result.append(.define("SWT_TESTING_LIBRARY_VERSION", to: #""\#(tag)""#))
475475
} else {
476476
result.append(.define("SWT_TESTING_LIBRARY_VERSION", to: "0"))
477477
}

0 commit comments

Comments
 (0)