Skip to content

Commit 5603c37

Browse files
committed
TSCBasic: repair Windows build after swiftlang#167
1 parent 415d6f8 commit 5603c37

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/TSCBasic/Lock.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ public final class FileLock {
8585
)
8686
})
8787
if h == INVALID_HANDLE_VALUE {
88-
throw FileSystemError(errno: Int32(GetLastError()))
88+
throw FileSystemError(errno: Int32(GetLastError()), lockFile)
8989
}
9090
self.handle = h
9191
}

0 commit comments

Comments
 (0)