Inspectopedia
 
2024.3

Duplicate variable

Error
Reliability
New
Last modified: 03 December 2024

Reports duplicate Go Template variables that are declared in the same scope.

Duplicating a variable reassigns the existing variable with the same name. This operation might lead to different unpredicatable issues.

Example: