Fix a *facepalm*
This commit is contained in:
parent
906d2fd2e0
commit
5460520b53
|
@ -622,7 +622,7 @@ func (out *URNOutput) Apply(applier func(URN) (interface{}, error)) *Output {
|
||||||
// toString attempts to convert v to a string.
|
// toString attempts to convert v to a string.
|
||||||
func toString(v interface{}) string {
|
func toString(v interface{}) string {
|
||||||
if s := cast.ToString(v); s != "" {
|
if s := cast.ToString(v); s != "" {
|
||||||
return ""
|
return s
|
||||||
}
|
}
|
||||||
|
|
||||||
// See if this can convert through reflection (e.g., for type aliases).
|
// See if this can convert through reflection (e.g., for type aliases).
|
||||||
|
|
Loading…
Reference in a new issue