(s *bool, key string, value string)
| 403 | } |
| 404 | |
| 405 | func setBoolean(s *bool, key string, value string) { |
| 406 | boolValue, err := strconv.ParseBool(value) |
| 407 | if err != nil { |
| 408 | say.Warning("Could not set key from configuration file because value is not parseable (" + key + "=" + value + ")") |
| 409 | return |
| 410 | } |
| 411 | *s = boolValue |
| 412 | say.Debug("Overwriting " + key + " =" + strconv.FormatBool(boolValue)) |
| 413 | } |
| 414 | |
| 415 | func setMobDoneSquash(configuration *Configuration, key string, value string) { |
| 416 | if strings.HasPrefix(value, "\"") { |
no test coverage detected