Commit 95d7ead
fix: treat empty/whitespace HYPERLIGHT_JS_RUNTIME_PATH as unset
Previously an empty env var value would panic at canonicalize() with a
confusing error. Now we treat empty/whitespace values the same as unset
and fall through to build_js_runtime().
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent cd212f7 commit 95d7ead
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
200 | 200 | | |
201 | 201 | | |
202 | 202 | | |
203 | | - | |
| 203 | + | |
204 | 204 | | |
205 | 205 | | |
206 | 206 | | |
| |||
216 | 216 | | |
217 | 217 | | |
218 | 218 | | |
219 | | - | |
| 219 | + | |
220 | 220 | | |
221 | 221 | | |
222 | 222 | | |
| |||
0 commit comments