diff options
author | Kitson Kelly <me@kitsonkelly.com> | 2020-10-07 22:43:44 +1100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-07 22:43:44 +1100 |
commit | 99aa23b8ddd73ab6332430c2ba7c44792fad3886 (patch) | |
tree | 4f71b92a09e04602738165dbc941f1ef1c3d5b02 /cli/global_state.rs | |
parent | cb3a3a1e951d0eef9e2d095f87eaaa2f5ea160ad (diff) |
refactor(cli): remove TextDocument (#7850)
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 9f5158332..716c7144a 100644 --- a/cli/global_state.rs +++ b/cli/global_state.rs @@ -247,7 +247,7 @@ impl GlobalState { } } else { CompiledModule { - code: out.source_code.to_string()?, + code: out.source_code, name: out.url.to_string(), } }; |