feat(cmd/joj3): remove teapot pretty exception env var
as it has already been set in teapot
This commit is contained in:
parent
41734ef5d5
commit
8e20028aac
|
@ -22,7 +22,6 @@ func Run(conf *conf.Conf) (
|
||||||
runResult RunResult, err error,
|
runResult RunResult, err error,
|
||||||
) {
|
) {
|
||||||
os.Setenv("LOG_FILE_PATH", conf.Teapot.LogPath)
|
os.Setenv("LOG_FILE_PATH", conf.Teapot.LogPath)
|
||||||
os.Setenv("_TYPER_STANDARD_TRACEBACK", "1")
|
|
||||||
if env.Attr.Actor == "" ||
|
if env.Attr.Actor == "" ||
|
||||||
env.Attr.Repository == "" ||
|
env.Attr.Repository == "" ||
|
||||||
strings.Count(env.Attr.Repository, "/") != 1 ||
|
strings.Count(env.Attr.Repository, "/") != 1 ||
|
||||||
|
|
Loading…
Reference in New Issue
Block a user