Эх сурвалжийг харах

fix(bundler): remove unused test code

Lucas Nogueira 3 жил өмнө
parent
commit
38a9b58219

+ 0 - 12
tooling/bundler/src/bundle/settings.rs

@@ -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.