IBM / dbb-zappbuild

zAppBuild is a generic build solution for building z/OS applications using Apache Groovy build scripts and IBM Dependency Based Build (DBB) APIs.
Apache License 2.0
41 stars 140 forks source link

PSBGen.groovy references undefined variable #222

Closed sdearth closed 2 years ago

sdearth commented 2 years ago

Method createACBgenCommand references variable logicalFile that hasn't been defined within the script.

String deployType = buildUtils.getDeployType("acbgen", buildFile, logicalFile)

This is probably OK in Groovy, since I suspect it just resolves to null, but if the intention is to pass getDeployType a null value, we should be explicit.