Update github.com/pkg/errors package

This commit is contained in:
2016-08-23 10:41:19 +01:00
parent eba8b1e69c
commit cbf65dbc70
2 changed files with 6 additions and 4 deletions

View File

@@ -127,8 +127,10 @@ func (f *fundamental) Format(s fmt.State, verb rune) {
return
}
fallthrough
case 's', 'q':
case 's':
io.WriteString(s, f.msg)
case 'q':
fmt.Fprintf(s, "%q", f.msg)
}
}