Skip to content

Commit

Permalink
lint: check error of WalkDir function
Browse files Browse the repository at this point in the history
  • Loading branch information
letFunny committed Sep 27, 2024
1 parent 7fa6ee9 commit 07a0549
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions internal/manifest/manifest_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -407,6 +407,7 @@ func (s *S) TestGenerateManifests(c *C) {
err := manifest.GenerateManifests(options)
c.Assert(err, IsNil)
err = filepath.WalkDir(tmpDir, func(path string, d fs.DirEntry, err error) error {
c.Assert(err, IsNil)
if d.IsDir() {
return nil
}
Expand Down

0 comments on commit 07a0549

Please sign in to comment.