Skip to content

Commit

Permalink
refactor: remove Error::MissingNotarizeAuthTeamId
Browse files Browse the repository at this point in the history
Co-authored-by: Lucas Nogueira <[email protected]>
  • Loading branch information
jason-crabnebula and lucasfernog-crabnebula committed Oct 20, 2023
1 parent 7eea25a commit b783c3e
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
1 change: 0 additions & 1 deletion crates/packager/src/codesign/macos.rs
Original file line number Diff line number Diff line change
Expand Up @@ -397,7 +397,6 @@ pub fn notarize_auth() -> crate::Result<NotarizeAuth> {
password,
team_id,
}),
(Some(_apple_id), Some(_password), None) => Err(Error::MissingNotarizeAuthTeamId),
_ => {
match (
std::env::var_os("APPLE_API_KEY"),
Expand Down
5 changes: 0 additions & 5 deletions crates/packager/src/error.rs
Original file line number Diff line number Diff line change
Expand Up @@ -172,11 +172,6 @@ pub enum Error {
/// Missing notarize environment variables.
#[error("Could not find APPLE_ID & APPLE_PASSWORD & APPLE_TEAM_ID or APPLE_API_KEY & APPLE_API_ISSUER & APPLE_API_KEY_PATH environment variables found")]
MissingNotarizeAuthVars,
/// Missing norarize APPLE_TEAM_ID environment variable.
#[error(
"The team ID is now required for notarization with app-specific password as authentication. Please set the `APPLE_TEAM_ID` environment variable. You can find the team ID in https://developer.apple.com/account#MembershipDetailsCard."
)]
MissingNotarizeAuthTeamId,
/// Failed to list keychains
#[error("Failed to list keychains: {0}")]
FailedToListKeyChain(std::io::Error),
Expand Down

0 comments on commit b783c3e

Please sign in to comment.