Merge pull request #426 from nspcc-dev/logger_247
Change fmt.Println to log, close #247.
This commit is contained in:
commit
3cbb699eb7
9 changed files with 355 additions and 475 deletions
|
@ -48,7 +48,7 @@ func inspect(ctx *cli.Context) error {
|
|||
if err != nil {
|
||||
return cli.NewExitError(err, 1)
|
||||
}
|
||||
v := vm.New(0)
|
||||
v := vm.New()
|
||||
v.LoadScript(b)
|
||||
v.PrintOps()
|
||||
return nil
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue