Skip to content

Fix/check error returns#2

Merged
calilkhalil merged 8 commits into
mainfrom
fix/check-error-returns
Jan 1, 2026
Merged

Fix/check error returns#2
calilkhalil merged 8 commits into
mainfrom
fix/check-error-returns

Conversation

@calilkhalil

Copy link
Copy Markdown
Owner

No description provided.

- Add error checking for saveMeta call
- Check errors from os.Remove calls
- Check errors from fmt.Fprintf calls
- Check errors from json.Encode calls
- Check errors from WriteString calls

Fixes errcheck linter errors
- Check errors from os.Chtimes calls
- Check errors from json.Encode in test file operations
- Check errors from file Close operations
- Check errors from os.MkdirAll in test setup functions
- Check errors from os.WriteFile in test setup functions
- Check errors from c.Update call in test
- Check errors from w.Write in HTTP handlers
- Check errors from json.Encode in HTTP test handlers
- Move PR template to .github/pull_request_template.md (lowercase)

Fixes remaining errcheck linter errors
- Check errors from os.MkdirAll in test setup functions
- Check errors from os.WriteFile in test setup functions
- Check errors from c.Update call in test
- Check errors from w.Write in HTTP handlers
- Check errors from json.Encode in HTTP test handlers
- Move PR template to .github/pull_request_template.md (lowercase)

Fixes remaining errcheck linter errors
- Set both HOME (Unix) and USERPROFILE (Windows) env vars
- Ensures os.UserHomeDir() works correctly on Windows
- Fixes TestConfigureVolatility3 failure on Windows CI
@calilkhalil calilkhalil merged commit d093d02 into main Jan 1, 2026
8 checks passed
@calilkhalil calilkhalil deleted the fix/check-error-returns branch January 1, 2026 05:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant