Commit 85c8c8b
Fix golangci-lint errcheck violations in commands.go
- Check fmt.Fprintf return value in listVarCommand
- Wrap deferred os.Remove in anonymous function with error handling
- Check file.Close return value in editCommand
- All 3 errcheck violations resolved
Co-authored-by: dlevy-msft-sql <194277063+dlevy-msft-sql@users.noreply.github.com>1 parent 5194b35 commit 85c8c8b
1 file changed
Lines changed: 10 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
408 | 408 | | |
409 | 409 | | |
410 | 410 | | |
411 | | - | |
| 411 | + | |
| 412 | + | |
| 413 | + | |
412 | 414 | | |
413 | 415 | | |
414 | 416 | | |
| |||
543 | 545 | | |
544 | 546 | | |
545 | 547 | | |
546 | | - | |
| 548 | + | |
| 549 | + | |
| 550 | + | |
| 551 | + | |
547 | 552 | | |
548 | 553 | | |
549 | 554 | | |
| |||
552 | 557 | | |
553 | 558 | | |
554 | 559 | | |
555 | | - | |
| 560 | + | |
| 561 | + | |
| 562 | + | |
556 | 563 | | |
557 | 564 | | |
558 | 565 | | |
| |||
0 commit comments