mirror of
https://github.com/jlengrand/engine.git
synced 2026-03-10 15:49:32 +00:00
chore: warn msg
This commit is contained in:
committed by
Pierre Mavro
parent
2fcfecfe90
commit
39cfc4f31d
@@ -412,7 +412,11 @@ impl BuildPlatform for LocalDocker {
|
||||
let dockerfile_exists = match dockerfile_relative_path {
|
||||
Some(path) => {
|
||||
let dockerfile_complete_path = format!("{}/{}", into_dir.as_str(), path);
|
||||
Path::new(dockerfile_complete_path.as_str()).exists()
|
||||
let exists = Path::new(dockerfile_complete_path.as_str()).exists();
|
||||
if !exists {
|
||||
warn!("Dockerfile not found under given {}", dockerfile_complete_path)
|
||||
}
|
||||
exists
|
||||
}
|
||||
None => false,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user