fix: use correct check for BUILDPACK_URL
Also fix lint issue
This commit is contained in:
1 parent
9aa471c1fd
commit
4da1fea274
1 file changed
+1
-1
@@ -65,7 +65,7 @@ trigger-builder-pack-builder-build() {
|
|||||||
esac
|
esac
|
||||||
done
|
done
|
||||||
|
|
||||||
if [ -z "$BUILDPACK_URL" ]; then
|
if [ -n "$BUILDPACK_URL" ]; then
|
||||||
PACK_ARGS+=("--builder")
|
PACK_ARGS+=("--builder")
|
||||||
PACK_ARGS+=("$BUILDPACK_URL")
|
PACK_ARGS+=("$BUILDPACK_URL")
|
||||||
elif [ -f "$SOURCECODE_WORK_DIR/.buildpacks" ]; then
|
elif [ -f "$SOURCECODE_WORK_DIR/.buildpacks" ]; then
|
||||||
|
|||||||
Reference in new issue
Block a user