Skip to content

Commit e5b361b

Browse files
committed
Fix formatting
1 parent 4240f4b commit e5b361b

1 file changed

Lines changed: 10 additions & 8 deletions

File tree

Platforms/WASI/_build.py

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)