Closed mdlayher closed 11 months ago
The error handling here is pretty lax and could use tidying up. We don't want to throw away errors from writing the state file for sure.
Keep things scoped as tightly as possible and avoid passing a nil pointer into the JSON unmarshaler.
The error handling here is pretty lax and could use tidying up. We don't want to throw away errors from writing the state file for sure.
Keep things scoped as tightly as possible and avoid passing a nil pointer into the JSON unmarshaler.