소스 검색

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.