Skip to content

Commit a4b08d8

Browse files
committed
file open error
1 parent 77ad7f1 commit a4b08d8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

mods/shell/internal/cmd/run.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ func doRun(ctx *action.ActionContext) {
5050
}
5151
file, err := os.Open(cmd.Filename)
5252
if err != nil {
53+
ctx.Println("ERR", err.Error())
5354
return
5455
}
5556
defer file.Close()

0 commit comments

Comments
 (0)