mirror of
https://github.com/semaphoreui/semaphore.git
synced 2025-01-07 16:42:41 +01:00
bb064198dd
When updating a template with empty "Extra CLI Arguments" field, the template.Arguments pointer becomes nil. The previous check whether this variable is the empty string fails if it is already nil. The fix introduces a lazy nil check before the empty string-check. |
||
---|---|---|
.. | ||
environment.go | ||
inventory.go | ||
keys.go | ||
project.go | ||
projects.go | ||
repository.go | ||
templates.go | ||
users.go |