diff options
Diffstat (limited to 'commands/convert.go')
-rw-r--r-- | commands/convert.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/commands/convert.go b/commands/convert.go index 56f67f8dc..6e5b5be85 100644 --- a/commands/convert.go +++ b/commands/convert.go @@ -14,6 +14,7 @@ package commands import ( + "errors" "fmt" "path/filepath" "time" @@ -100,7 +101,7 @@ func convertContents(mark rune) (err error) { panic("site.Source not set") } if len(site.Source.Files()) < 1 { - return fmt.Errorf("No source files found") + return errors.New("No source files found") } contentDir := helpers.AbsPathify(viper.GetString("contentDir")) |