mirror of
https://github.com/gohugoio/hugo.git
synced 2025-03-19 22:53:53 +00:00
commands: Delete unused newUserErrorF
This commit is contained in:
parent
5867cb5a92
commit
1e18087356
1 changed files with 0 additions and 4 deletions
|
@ -79,10 +79,6 @@ func newUserError(a ...interface{}) commandError {
|
||||||
return commandError{s: fmt.Sprintln(a...), userError: true}
|
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 {
|
func newSystemError(a ...interface{}) commandError {
|
||||||
return commandError{s: fmt.Sprintln(a...), userError: false}
|
return commandError{s: fmt.Sprintln(a...), userError: false}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue