Skip to content

Commit

Permalink
fixup! Tests: Fix fail on vendored modules
Browse files Browse the repository at this point in the history
  • Loading branch information
gbjk committed Oct 31, 2024
1 parent a2caf87 commit 61f654b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion internal/testing/utils/path_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@ func TestRootPathFromCWD(t *testing.T) {
w, _ := filepath.Split(p)
w = filepath.Clean(w)
if w == r {
if d.Name() == "vendor" {
switch d.Name() {
case "vendor", "web":
return filepath.SkipDir
}
return nil
Expand Down

0 comments on commit 61f654b

Please sign in to comment.