Skip to content

Commit 54c82ac

Browse files
committed
Fix add_os_version()
This should return the platform, not nothing, if it can't find anything!
1 parent 36c0731 commit 54c82ac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/build_api/PackageConfig.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,7 @@ function add_os_version(platform::Platform, target_spec::BuildTargetSpec)
269269
end
270270

271271
# Unable to find an OS version, that's fine!
272-
return nothing
272+
return platform
273273
end
274274

275275
function add_os_version(cp::CrossPlatform, target_spec::BuildTargetSpec)

0 commit comments

Comments
 (0)