Skip to content

Commit

Permalink
Fix the reviewdog
Browse files Browse the repository at this point in the history
  • Loading branch information
sfc-gh-asawicki committed May 2, 2024
1 parent 8b2e66f commit 9801add
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pkg/scripts/issues/close-with-comment/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,9 @@ func loadIssuesToClose() []Issue {
defer f.Close()
csvReader := csv.NewReader(f)
records, err := csvReader.ReadAll()
if err != nil {
panic(err)
}
issues := make([]Issue, 0)
for _, record := range records {
number, err := strconv.Atoi(record[0])
Expand Down
3 changes: 3 additions & 0 deletions pkg/scripts/issues/filter-closeable-old-issues/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,9 @@ func loadPreSnowflakeBucket() []PreSnowflakeIssue {
defer f.Close()
csvReader := csv.NewReader(f)
records, err := csvReader.ReadAll()
if err != nil {
panic(err)
}
issues := make([]PreSnowflakeIssue, 0)
for _, record := range records {
number, err := strconv.Atoi(record[0])
Expand Down

0 comments on commit 9801add

Please sign in to comment.