Browse Source

Check for DEBUG env var

cmd
opilarium 8 years ago
parent
commit
5de014da40
  1. 2
      src/lib.rs

2
src/lib.rs

@ -1242,7 +1242,7 @@ impl Config {
} }
fn get_debug(&self) -> bool { fn get_debug(&self) -> bool {
self.debug.unwrap_or_else(|| self.getenv_unwrap("PROFILE") == "debug") self.debug.unwrap_or_else(|| self.getenv("DEBUG").is_some())
} }
fn get_out_dir(&self) -> PathBuf { fn get_out_dir(&self) -> PathBuf {

Loading…
Cancel
Save