Merge pull request #453 from trheyi/main

[change] optimizing console output
This commit is contained in:
Max 2023-09-01 12:24:07 +08:00 committed by GitHub
commit f0fad41866
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -7,10 +7,10 @@ import (
"github.com/fatih/color"
jsoniter "github.com/json-iterator/go"
"github.com/spf13/cobra"
"github.com/yaoapp/gou/helper"
"github.com/yaoapp/gou/plugin"
"github.com/yaoapp/gou/process"
"github.com/yaoapp/kun/exception"
"github.com/yaoapp/kun/utils"
"github.com/yaoapp/yao/config"
"github.com/yaoapp/yao/engine"
ischedule "github.com/yaoapp/yao/schedule"
@ -129,7 +129,7 @@ var runCmd = &cobra.Command{
color.White("--------------------------------------\n")
color.White(L("%s Response\n"), name)
color.White("--------------------------------------\n")
utils.Dump(res)
helper.Dump(res)
color.White("--------------------------------------\n")
color.Green(L("✨DONE✨\n"))
return