You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For consistency, as well as the ability to control the Exception thrown which validations fail within our logic, replace 'assert' statements with 'raise' statements, e.g.,
assert os.path.exists(pom_file_path), \
f'Given maven pom file (pom-file) does not exist: {pom_file_path}'
becomes
if not os.path.exists(pom_file_path):
raise StepRunnerException(
f'Given maven pom file (pom-file) does not exist: {pom_file_path}'
)
The text was updated successfully, but these errors were encountered:
For consistency, as well as the ability to control the Exception thrown which validations fail within our logic, replace 'assert' statements with 'raise' statements, e.g.,
becomes
The text was updated successfully, but these errors were encountered: