Переглянути джерело

fix(bundler): remove unused test code

Lucas Nogueira 3 роки тому
батько
коміт
38a9b58219
1 змінених файлів з 0 додано та 12 видалено
  1. 0 12
      tooling/bundler/src/bundle/settings.rs

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