forked from rojo-rbx/rojo
Port from Failure to Snafu (#281)
* Failure -> Snafu for build command * Port skeletal remains of init to snafu * failure -> snafu for serve * failure -> snafu for upload, remove impl_from macro * failure -> custom error in vfs * Bye bye, failure * Fix Rust 1.36 build regression
This commit is contained in:
committed by
GitHub
parent
41396367ac
commit
1b9e90e786
@@ -1,6 +1,5 @@
|
||||
use std::{panic, process};
|
||||
use std::{error::Error, panic, process};
|
||||
|
||||
use failure::Error;
|
||||
use log::error;
|
||||
use structopt::StructOpt;
|
||||
|
||||
@@ -45,7 +44,7 @@ fn main() {
|
||||
}
|
||||
}
|
||||
|
||||
fn run(subcommand: Subcommand) -> Result<(), Error> {
|
||||
fn run(subcommand: Subcommand) -> Result<(), Box<dyn Error>> {
|
||||
match subcommand {
|
||||
Subcommand::Init(init_options) => cli::init(init_options)?,
|
||||
Subcommand::Serve(serve_options) => cli::serve(serve_options)?,
|
||||
|
||||
Reference in New Issue
Block a user