Charles P. Cross
8676c41c18
fix: address CI lint errors (gosec, errcheck, unparam, duplicate tests) (#730)
* fix: address CI lint errors (gosec, errcheck, unparam, duplicate tests)
- Remove duplicate TestHandleDelete_DryRun and TestHandleDelete_PartialSuccess
from server_mutations_test.go (already defined in server_delete_test.go)
- Add nolint:gosec comments for exec.CommandContext calls in sync_branch.go
(variables come from trusted config/git sources)
- Fix gosec G304/G306 in yaml_config.go (file read/write permissions)
- Fix errcheck in mol_run.go (templateStore.Close)
- Add nolint:unparam for updateYamlKey error return
* fix: add remaining nolint:gosec comments for exec.CommandContext calls
- sync_branch.go: diffCmd, logCmd (dry-run), commitCmd, pushCmd, remoteCmd
- sync_check.go: checkLocalCmd
* fix: add more nolint:gosec comments for exec.CommandContext calls
- sync_branch.go: pullCmd
- sync_check.go: localRefCmd, remoteRefCmd, aheadCmd
- sync_import.go: checkoutCmd
* fix: add final nolint:gosec comments for exec.CommandContext calls
- sync_check.go: behindCmd
- sync_import.go: fetchCmd
---------
Co-authored-by: Charles P. Cross <cpdata@users.noreply.github.com>
2025-12-24 12:35:32 -08:00
..
2025-12-20 03:24:51 -08:00
2025-12-24 00:06:41 -08:00
2025-12-24 00:06:41 -08:00
2025-12-24 12:35:32 -08:00
2025-12-23 22:39:22 -08:00
2025-12-18 17:45:49 -05:00
2025-12-18 17:45:49 -05:00
2025-12-22 21:15:41 -08:00
2025-12-24 00:06:41 -08:00
2025-12-19 18:13:56 -08:00
2025-12-24 00:06:41 -08:00
2025-12-19 18:30:03 -08:00
2025-12-14 15:21:29 -08:00
2025-12-21 15:41:22 -08:00
2025-12-20 09:27:41 -08:00
2025-12-24 12:35:32 -08:00
2025-12-24 00:10:42 -08:00
2025-12-24 00:06:41 -08:00
2025-12-24 00:06:41 -08:00
2025-12-22 01:25:23 -08:00
2025-12-22 23:37:45 -08:00
2025-12-19 18:31:33 -08:00