Skip to content

Commit

Permalink
fix(deploys): Revert "fix(deploys): Use --project argument (#1930)" (
Browse files Browse the repository at this point in the history
…#1942)

This reverts commit e11e231, which appears to be causing issues for some users (see #1939)
  • Loading branch information
szokeasaurusrex authored Feb 13, 2024
1 parent 6ff700b commit 2fea93f
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
2 changes: 0 additions & 2 deletions src/api.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2610,8 +2610,6 @@ pub struct Deploy {
pub started: Option<DateTime<Utc>>,
#[serde(rename = "dateFinished")]
pub finished: Option<DateTime<Utc>>,
#[serde(skip_serializing_if = "Option::is_none")]
pub projects: Option<Vec<String>>,
}

impl Deploy {
Expand Down
1 change: 0 additions & 1 deletion src/commands/deploys/new.rs
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,6 @@ pub fn execute(matches: &ArgMatches) -> Result<()> {
env: matches.get_one::<String>("env").unwrap().to_string(),
name: matches.get_one::<String>("name").cloned(),
url: matches.get_one::<String>("url").cloned(),
projects: config.get_projects(matches).ok(),
..Default::default()
};

Expand Down

0 comments on commit 2fea93f

Please sign in to comment.