Skip to content

Commit

Permalink
Revert "add getters to auth token"
Browse files Browse the repository at this point in the history
This reverts commit b23caae.
  • Loading branch information
Zertsov committed Jan 3, 2024
1 parent 0c721fa commit 8431328
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions crates/turborepo-auth/src/auth_file.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
use std::{collections::HashMap, ops::Deref};
use std::collections::HashMap;

use serde::{Deserialize, Serialize};
use turbopath::AbsoluteSystemPath;
Expand Down Expand Up @@ -84,12 +84,6 @@ impl AuthToken {
&self.api
}
}
pub fn api(&self) -> &str {
&self.api
}
pub fn token(&self) -> &str {
&self.token
}
}

/// Converts our old style of token held in `config.json` into the new schema.
Expand Down

0 comments on commit 8431328

Please sign in to comment.