From d6a90172987cb37338f6e3d3b78c34ce9618bf78 Mon Sep 17 00:00:00 2001 From: jtagcat <38327267+jtagcat@users.noreply.github.com> Date: Tue, 16 Jun 2020 17:08:09 +0300 Subject: [PATCH] fs: fix formatting of errInvalidCharacters error message errInvalidCharacters: 'and space .' -> 'and space.' Remove a space between the word, space, and period. Co-authored-by: jtagcat --- fs/fspath/path.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/fspath/path.go b/fs/fspath/path.go index adf19a6ce..d16c29310 100644 --- a/fs/fspath/path.go +++ b/fs/fspath/path.go @@ -17,7 +17,7 @@ const ( ) var ( - errInvalidCharacters = errors.New("config name contains invalid characters - may only contain 0-9, A-Z ,a-z ,_ , - and space ") + errInvalidCharacters = errors.New("config name contains invalid characters - may only contain 0-9, A-Z ,a-z ,_ , - and space") errCantBeEmpty = errors.New("can't use empty string as a path") errCantStartWithDash = errors.New("config name starts with -")