Fix a *facepalm*

This commit is contained in:
joeduffy 2018-06-10 12:36:14 -07:00
parent 906d2fd2e0
commit 5460520b53

View file

@ -622,7 +622,7 @@ func (out *URNOutput) Apply(applier func(URN) (interface{}, error)) *Output {
// toString attempts to convert v to a string.
func toString(v interface{}) string {
if s := cast.ToString(v); s != "" {
return ""
return s
}
// See if this can convert through reflection (e.g., for type aliases).