projects
/
brevno-suite
/
hugo
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5867cb5
)
commands: Delete unused newUserErrorF
author
bogem
<albertnigma@gmail.com>
Tue, 30 Aug 2016 17:20:21 +0000
(22:20 +0500)
committer
Bjørn Erik Pedersen
<bjorn.erik.pedersen@gmail.com>
Sun, 11 Sep 2016 10:23:09 +0000
(12:23 +0200)
commands/hugo.go
patch
|
blob
|
history
diff --git
a/commands/hugo.go
b/commands/hugo.go
index 435f66af12e4500a0b21879568df279299c254c7..ce6425489efdc3bd819e0032ec9b40ac6855543b 100644
(file)
--- a/
commands/hugo.go
+++ b/
commands/hugo.go
@@
-79,10
+79,6
@@
func newUserError(a ...interface{}) commandError {
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}
}