mirror of
https://github.com/kubescape/kubescape.git
synced 2026-03-26 05:18:37 +00:00
Closes #81. setOutputFile() will incorrectly append .json to an --output value that already has it. This is because https://pkg.go.dev/path/filepath#Ext result includes the ., whereas the current logic only tests against json, not .json.