rustfmt: Re run `cargo fmt` for new nightly

master
Nick Fitzgerald 7 years ago
parent 7fff2b6a15
commit a32b03d7a1
  1. 5
      src/logger.rs

@ -11,7 +11,10 @@ use std::path::PathBuf;
/// Create the logger for wasm-pack that will output any info warning or errors we encounter /// Create the logger for wasm-pack that will output any info warning or errors we encounter
pub fn new(cmd: &Command, verbosity: u8) -> Result<Logger, Error> { pub fn new(cmd: &Command, verbosity: u8) -> Result<Logger, Error> {
let log_path = log_file_path(&cmd); let log_path = log_file_path(&cmd);
let file = OpenOptions::new().create(true).append(true).open(log_path)?; let file = OpenOptions::new()
.create(true)
.append(true)
.open(log_path)?;
let decorator = PlainDecorator::new(file); let decorator = PlainDecorator::new(file);
let drain = FullFormat::new(decorator).build().fuse(); let drain = FullFormat::new(decorator).build().fuse();

Loading…
Cancel
Save