aboutsummaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorMáximo Cuadros <mcuadros@gmail.com>2021-12-11 12:02:17 +0100
committerGitHub <noreply@github.com>2021-12-11 12:02:17 +0100
commitf0b111ab70e4e90013658b0835929b2083902017 (patch)
tree04acaf3ded2a73541c213e10442602e346039bd0 /config
parente60e348f614a7272e4a51bdee8ba20f059ca4cce (diff)
parent4ccea5bb8d8c12cb31dba22f36864ffb91529559 (diff)
downloadgo-git-f0b111ab70e4e90013658b0835929b2083902017.tar.gz
Merge pull request #425 from abhinav/error-strings
error strings: Don't capitalize, use periods, or newlines
Diffstat (limited to 'config')
-rw-r--r--config/config.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/config.go b/config/config.go
index a16a5e5..2a196d0 100644
--- a/config/config.go
+++ b/config/config.go
@@ -150,7 +150,7 @@ func ReadConfig(r io.Reader) (*Config, error) {
// config file to the given scope, a empty one is returned.
func LoadConfig(scope Scope) (*Config, error) {
if scope == LocalScope {
- return nil, fmt.Errorf("LocalScope should be read from the a ConfigStorer.")
+ return nil, fmt.Errorf("LocalScope should be read from the a ConfigStorer")
}
files, err := Paths(scope)