Skip to content
This repository has been archived by the owner on Dec 29, 2022. It is now read-only.

Commit

Permalink
Merge pull request #1486 from schomatis/fix/cmd/make-clear_env_rust_l…
Browse files Browse the repository at this point in the history
…og-false

fix(cmd): make clear_env_rust_log default to false
  • Loading branch information
Xanewok authored Jun 21, 2019
2 parents 3e51965 + 986f80a commit 36def18
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion rls/src/cmd.rs
Original file line number Diff line number Diff line change
Expand Up @@ -364,7 +364,8 @@ fn init() -> Sender<String> {
let service = LsService::new(
analysis,
vfs,
Arc::new(Mutex::new(Config::default())),
// Don't clear `RUST_LOG` in CLI mode since it's intended for debugging purposes.
Arc::new(Mutex::new(Config { clear_env_rust_log: false, ..Default::default() })),
Box::new(ChannelMsgReader::new(receiver)),
PrintlnOutput,
);
Expand Down

0 comments on commit 36def18

Please sign in to comment.