chore: use the correct function when fetching properties with defaults

This commit is contained in:
Jose Diaz-Gonzalez
2022-11-24 14:47:13 -05:00
parent beb8dff68c
commit 7c5b0be2c3
3 changed files with 6 additions and 6 deletions

View File

@@ -80,11 +80,11 @@ fn-builder-dockerfile-computed-dockerfile-path() {
fn-builder-dockerfile-global-dockerfile-path() {
declare APP="$1"
fn-plugin-property-get "builder-dockerfile" "--global" "dockerfile-path" "Dockerfile"
fn-plugin-property-get-default "builder-dockerfile" "--global" "dockerfile-path" "Dockerfile"
}
fn-builder-dockerfile-dockerfile-path() {
declare APP="$1"
fn-plugin-property-get "builder-dockerfile" "$APP" "dockerfile-path" ""
fn-plugin-property-get-default "builder-dockerfile" "$APP" "dockerfile-path" ""
}