From 06bba236ac41aea50916ff8c12509a38b60c59bf Mon Sep 17 00:00:00 2001 From: Mason Stallmo Date: Thu, 17 Jan 2019 08:04:14 -0600 Subject: [PATCH] Fix build errors after resolving merge conflicts --- src/command/build.rs | 2 +- src/command/mod.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/command/build.rs b/src/command/build.rs index c55d55dd..e8923b93 100644 --- a/src/command/build.rs +++ b/src/command/build.rs @@ -192,7 +192,7 @@ impl Build { /// Execute this `Build` command. pub fn run(&mut self) -> Result<(), Error> { - let process_steps = Build::get_process_steps(&self.mode); + let process_steps = Build::get_process_steps(self.mode); let mut step_counter = Step::new(process_steps.len()); diff --git a/src/command/mod.rs b/src/command/mod.rs index 7259720e..da6bbc2b 100644 --- a/src/command/mod.rs +++ b/src/command/mod.rs @@ -107,7 +107,7 @@ pub fn run_wasm_pack(command: Command) -> result::Result<(), Error> { } => { info!("Running publish command..."); info!("Path: {:?}", &path); - publish(target, path, access) + publish(&target, path, access) } Command::Login { registry,