Skip to content

Commit

Permalink
Simplify config internals (#1489)
Browse files Browse the repository at this point in the history
  • Loading branch information
Emilgardis authored May 11, 2024
2 parents 02bf930 + 415bbd3 commit 53a45db
Show file tree
Hide file tree
Showing 6 changed files with 175 additions and 183 deletions.
4 changes: 4 additions & 0 deletions .changes/1489.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"description": "Simplify config internals",
"type": "internal"
}
2 changes: 1 addition & 1 deletion src/bin/commands/run.rs
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ impl Run {
let image = match docker::get_image(&config, &target, false) {
Ok(i) => i,
Err(docker::GetImageError::NoCompatibleImages(..))
if config.dockerfile(&target)?.is_some() =>
if config.dockerfile(&target).is_some() =>
{
"scratch".into()
}
Expand Down
Loading

0 comments on commit 53a45db

Please sign in to comment.