Skip to content

Commit

Permalink
Enable env_logger for the wasm-bindgen CLI tool
Browse files Browse the repository at this point in the history
This was intended earlier, but fogotten! Found during work on #1002
  • Loading branch information
alexcrichton committed Nov 29, 2018
1 parent 82bfbf9 commit 430fce7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions crates/cli/src/bin/wasm-bindgen.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ extern crate docopt;
extern crate wasm_bindgen_shared;
#[macro_use]
extern crate failure;
extern crate env_logger;

use std::path::PathBuf;
use std::process;
Expand Down Expand Up @@ -59,6 +60,7 @@ struct Args {
}

fn main() {
env_logger::init();
let args: Args = Docopt::new(USAGE)
.and_then(|d| d.deserialize())
.unwrap_or_else(|e| e.exit());
Expand Down

0 comments on commit 430fce7

Please sign in to comment.