You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What happened:
nirvana print a fatal error when running nirvana api.
$ nirvana api --output="./api"
INFO 0611-14:39:33.220+08 api.go:87 | No packages are specified, defaults to pkg/apis
FATAL 0611-14:40:03.467+08 api.go:61 | invalid character '\x1b' looking for beginning of value
What you expected to happen:
the error is unexpected. How to reproduce it (as minimally and precisely as possible):
Anything else we need to know?:
after some searching, i find the error is reported by json.Unmarshal. nirvana api generated a nirvana-generated*** file and run it to get a json formated api-definition string, then output the string to standard output(cmd). and read the string from standard output(cmd), decode it to &api.Definitions{}.
the error occur when my project output something to cmd.
Is this a BUG REPORT or FEATURE REQUEST?:
/kind bug
What happened:
nirvana print a fatal error when running
nirvana api
.What you expected to happen:
the error is unexpected.
How to reproduce it (as minimally and precisely as possible):
Anything else we need to know?:
after some searching, i find the error is reported by
json.Unmarshal
.nirvana api
generated anirvana-generated***
file and run it to get a json formatedapi-definition
string, then output the string to standard output(cmd). and read the string from standard output(cmd), decode it to&api.Definitions{}
.the error occur when my project output something to cmd.
nirvana/utils/builder/builder.go
Lines 172 to 183 in bf6c5fc
The text was updated successfully, but these errors were encountered: