Skip to content

Commit d936a1c

Browse files
joa-quimclaude
andcommitted
Fix build.jl: strip() returns SubString, release_url wants String
runtime_tag() fed release_url a SubString{String} from strip(), which doesn't match its ::String parameter type -- MethodError on any fresh Pkg.build. Wrap in String(...). Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
1 parent ea088ae commit d936a1c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

deps/build.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ const MARKER = joinpath(BUILD_DIR, ".full_runtime_installed")
2323
function runtime_tag()
2424
f = joinpath(DEPS_DIR, "RUNTIME_VERSION")
2525
isfile(f) || error("deps/RUNTIME_VERSION missing — can't tell which runtime release to fetch")
26-
strip(read(f, String))
26+
String(strip(read(f, String)))
2727
end
2828

2929
release_url(tag::String, asset::String) =

0 commit comments

Comments
 (0)