shithub: hugo

Download patch

ref: 1e180873568ae6edf65dc95c47a3f70f601bcc9e
parent: 5867cb5a92ba7bda5c559b0a7b86d2bdac10f474
author: bogem <[email protected]>
date: Tue Aug 30 18:20:21 EDT 2016

commands: Delete unused newUserErrorF

--- a/commands/hugo.go
+++ b/commands/hugo.go
@@ -79,10 +79,6 @@
 	return commandError{s: fmt.Sprintln(a...), userError: true}
 }
 
-func newUserErrorF(format string, a ...interface{}) commandError {
-	return commandError{s: fmt.Sprintf(format, a...), userError: true}
-}
-
 func newSystemError(a ...interface{}) commandError {
 	return commandError{s: fmt.Sprintln(a...), userError: false}
 }