Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update to buildpack API 0.10, invoke processes via bash #205

Merged
merged 9 commits into from
Feb 22, 2024
Prev Previous commit
Next Next commit
Use String::from to match existing style
  • Loading branch information
joshwlewis committed Feb 17, 2024
commit fabac1930d7e2bb6416245e8784f3b782cad99c9
2 changes: 1 addition & 1 deletion src/launch.rs
Original file line number Diff line number Diff line change
@@ -16,7 +16,7 @@ impl TryFrom<Procfile> for Launch {
launch.processes.push(Process {
r#type: ProcessType::from_str(&key)
.map_err(ProcfileConversionError::InvalidProcessType)?,
command: vec!["bash".to_string(), "-c".to_string(), value],
command: vec![String::from("bash"), String::from("-c"), value],
args: Vec::<String>::new(),
joshwlewis marked this conversation as resolved.
Show resolved Hide resolved
default: key == "web",
working_directory: WorkingDirectory::App,