diff options
Diffstat (limited to 'cli/global_state.rs')
-rw-r--r-- | cli/global_state.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/global_state.rs b/cli/global_state.rs index a26fc453e..a723bdd2f 100644 --- a/cli/global_state.rs +++ b/cli/global_state.rs @@ -250,7 +250,7 @@ impl GlobalState { } } else { CompiledModule { - code: String::from_utf8(out.source_code.clone())?, + code: out.source_code.to_string()?, name: out.url.to_string(), } }; |