feat: commit build field

This commit is contained in:
mrxiaozhuox committed 2022-08-18 15:54:42 -07:00
1 parent 6f4028f065
commit d9891d9f0c
9 files changed
+249 -248

No files matched your search

+1 -3
View File
@@ -11,8 +11,6 @@ async fn main() -> Result<()> {
required: vec![],
}).unwrap();
plugin_manager.load_all_plugins().unwrap();
match args.action {
Commands::Translate(opts) => {
if let Err(e) = opts.translate() {
@@ -21,7 +19,7 @@ async fn main() -> Result<()> {
}
Commands::Build(opts) => {
if let Err(e) = opts.build() {
if let Err(e) = opts.build(plugin_manager) {
log::error!("🚫 Build project failed: {}", e);
}
}