fix: [CI SKIP] More cleanup. Based on the Go Report Card.

This commit is contained in:
James Wells 2021-05-30 15:37:49 -07:00
parent 0322bc2081
commit e47a8ebc10
Signed by: jwells
GPG key ID: 73196D10B8E65666
3 changed files with 16 additions and 13 deletions

View file

@ -12,6 +12,7 @@ import (
var fname = flag.String("f", "", "file name")
// TCL puts function.
func CommandPuts(i *picol.Interp, argv []string, pd interface{}) (string, error) {
if len(argv) != 2 {
return "", fmt.Errorf("Wrong number of args for %s %s", argv[0], argv)