fix(bundler): remove unused test code

This commit is contained in:
Lucas Nogueira 2022-02-04 11:47:10 -03:00
parent 095a696c85
commit 38a9b58219
No known key found for this signature in database
GPG Key ID: 2714B66BCFB01F7F

View File

@ -681,18 +681,6 @@ impl Settings {
None => false,
}
}
/// Get pubkey (mainly for testing)
#[cfg(test)]
pub fn updater_pubkey(&self) -> Option<&str> {
self
.bundle_settings
.updater
.as_ref()
.expect("Updater is not defined")
.pubkey
.as_deref()
}
}
/// Parses the external binaries to bundle, adding the target triple suffix to each of them.