forked from Job79/devcontainer
fix: dev containers without config file
This commit is contained in:
2
devc.sh
2
devc.sh
@@ -27,7 +27,7 @@ default_args() {
|
|||||||
|
|
||||||
# Load custom container config.
|
# Load custom container config.
|
||||||
local config_file="${BASH_SOURCE[0]%/*}/containers/$name/config.sh"
|
local config_file="${BASH_SOURCE[0]%/*}/containers/$name/config.sh"
|
||||||
[[ -f "$config_file" ]] && source "$config_file"
|
[[ -f "$config_file" ]] && source "$config_file" || true
|
||||||
}
|
}
|
||||||
|
|
||||||
# param_args parses CLI arguments into podman run options.
|
# param_args parses CLI arguments into podman run options.
|
||||||
|
|||||||
Reference in New Issue
Block a user