heroku / libcnb.rs

A framework for writing Cloud Native Buildpacks in Rust
BSD 3-Clause "New" or "Revised" License
33 stars 6 forks source link

Serialize process working directory as working-dir #831

Closed runesoerensen closed 1 month ago

runesoerensen commented 1 month ago

Launch processes configured with a WorkingDirectory::Directory are currently incorrectly serialized. This PR fixes that by renaming the serialized launch.toml process working directory key from working-directory to working-dir (as defined in the spec).

This could be a breaking change for users of the library. However, a quick GitHub search didn't reveal any public/internal code that configures the working directory outside this repository.