File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -221,8 +221,10 @@ def wasi_sdk(context):
221221 """Find the path to the WASI SDK."""
222222 if wasi_sdk_path := context .wasi_sdk_path :
223223 if not wasi_sdk_path .exists ():
224- raise ValueError ("WASI SDK not found at "
225- f"{ os .fsdecode (wasi_sdk_path )!r} (via --wasi-sdk)" )
224+ raise ValueError (
225+ "WASI SDK not found at "
226+ f"{ os .fsdecode (wasi_sdk_path )!r} (via --wasi-sdk)"
227+ )
226228 return wasi_sdk_path
227229
228230 with (HERE / "config.toml" ).open ("rb" ) as file :
@@ -271,12 +273,12 @@ def wasi_sdk(context):
271273 )
272274 elif not wasi_sdk_path :
273275 raise ValueError (
274- f"WASI SDK { wasi_sdk_version } not found; "
275- "download from "
276- "https://github.com/WebAssembly/wasi-sdk and install in "
277- f"{ os .fsdecode (opt_path )!r} or specify the SDK via "
278- "$WASI_SDK_PATH or --wasi-sdk"
279- )
276+ f"WASI SDK { wasi_sdk_version } not found; "
277+ "download from "
278+ "https://github.com/WebAssembly/wasi-sdk and install in "
279+ f"{ os .fsdecode (opt_path )!r} or specify the SDK via "
280+ "$WASI_SDK_PATH or --wasi-sdk"
281+ )
280282
281283 # Cache the result.
282284 context .wasi_sdk_path = wasi_sdk_path
You can’t perform that action at this time.
0 commit comments