fix(core): build error without updater feature (#1489)

This commit is contained in:
Lucas Fernandes Nogueira 2021-04-14 17:55:05 -03:00 committed by GitHub
parent 6ec027339c
commit 395fbb343a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -54,6 +54,7 @@ pub enum Error {
#[error("error encountered during setup hood: {0}")]
Setup(#[from] Box<dyn std::error::Error>),
/// Tauri updater error.
#[cfg(feature = "updater")]
#[error("Updater: {0}")]
TauriUpdater(#[from] crate::updater::Error),
}