}
// NOTE: Make sure to call WriteState() only if there were no
// errors (see WriteState() and README)
err = WriteState(cfg.StatePath, state)
if err != nil {
}
// NOTE: Make sure to call WriteState() only if there were no
// errors (see WriteState() and README)
err = WriteState(cfg.StatePath, state)
if err != nil {