Skip to content

Commit

Permalink
Merge pull request #1067 from alexcrichton/minor-tweaks
Browse files Browse the repository at this point in the history
A few minor CLI tweaks during work on #1002
  • Loading branch information
alexcrichton committed Nov 29, 2018
2 parents 0ebd267 + 430fce7 commit 2bd9c0e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion crates/cli/src/bin/wasm-bindgen-test-runner/main.rs
Expand Up @@ -155,7 +155,7 @@ fn rmain() -> Result<(), Error> {
&tmpdir,
&args.collect::<Vec<_>>(),
&tests,
)?;
).context("failed to spawn server")?;
let addr = srv.server_addr();

// TODO: eventually we should provide the ability to exit at some point
Expand Down
2 changes: 2 additions & 0 deletions crates/cli/src/bin/wasm-bindgen.rs
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 2bd9c0e

Please sign in to comment.