Skip to content

Commit

Permalink
Serialize process working directory as working-dir (#831)
Browse files Browse the repository at this point in the history
  • Loading branch information
runesoerensen committed Jun 12, 2024
1 parent 6dc72cb commit 5d59632
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

### Fixed

- `libcnb-data`:
- The working directory for launch processes specifying a `WorkingDirectory::Directory` value is now respected. ([#831](https://github.com/heroku/libcnb.rs/pull/831))

## [0.21.0] - 2024-04-30

Expand Down
4 changes: 2 additions & 2 deletions libcnb-data/src/launch.rs
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ pub struct Process {
#[serde(default, skip_serializing_if = "std::ops::Not::not")]
pub default: bool,
#[serde(
rename = "working-directory",
rename = "working-dir",
default,
skip_serializing_if = "WorkingDirectory::is_app"
)]
Expand Down Expand Up @@ -405,7 +405,7 @@ command = ["foo"]
r#"type = "web"
command = ["foo"]
default = true
working-directory = "dist"
working-dir = "dist"
"#
);
}
Expand Down

0 comments on commit 5d59632

Please sign in to comment.