We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1adb261 commit ec23881Copy full SHA for ec23881
lintcmd/cmd.go
@@ -393,8 +393,8 @@ func (cmd *Command) Run() {
393
var err error
394
bconfs, err = parseBuildConfigs(os.Stdin)
395
if err != nil {
396
- if err, ok := err.(parseBuildConfigError); ok {
397
- fmt.Fprintf(os.Stderr, "<stdin>:%d couldn't parse build matrix: %s\n", err.line, err.err)
+ if perr, ok := err.(parseBuildConfigError); ok {
+ fmt.Fprintf(os.Stderr, "<stdin>:%d couldn't parse build matrix: %s\n", perr.line, perr.err)
398
} else {
399
fmt.Fprintln(os.Stderr, err)
400
}
0 commit comments