Skip to content

Commit 53a45db

Browse files
authored
Simplify config internals (#1489)
2 parents 02bf930 + 415bbd3 commit 53a45db

File tree

6 files changed

+175
-183
lines changed

6 files changed

+175
-183
lines changed

.changes/1489.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"description": "Simplify config internals",
3+
"type": "internal"
4+
}

src/bin/commands/run.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ impl Run {
6666
let image = match docker::get_image(&config, &target, false) {
6767
Ok(i) => i,
6868
Err(docker::GetImageError::NoCompatibleImages(..))
69-
if config.dockerfile(&target)?.is_some() =>
69+
if config.dockerfile(&target).is_some() =>
7070
{
7171
"scratch".into()
7272
}

0 commit comments

Comments
 (0)