Fix environment specification error message in build.gradle :deploy (#1717)

* Fix environment specification error message in build.gradle :deploy
This commit is contained in:
Ben McIlwain 2022-07-28 15:24:31 -04:00 committed by GitHub
parent 711ddaf3d3
commit c1cfb8bd71

View file

@ -163,7 +163,7 @@ def verifyDeploymentParams() {
System.err.println('-----------------------------------------------------------------')
throw new GradleException('Aborting. See prominent error above.')
} else if (gcpProject == null) {
def error = 'You must specify -P environment={alpha,crash,qa}'
def error = 'You must specify -Penvironment={alpha,crash,qa}'
System.err.println("\033[33;1m${error}\033[0m")
throw GradleException("Aborting: ${error}")
}