aboutsummaryrefslogtreecommitdiffhomepage
path: root/internal/rosa
diff options
context:
space:
mode:
Diffstat (limited to 'internal/rosa')
-rw-r--r--internal/rosa/state.go6
1 files changed, 5 insertions, 1 deletions
diff --git a/internal/rosa/state.go b/internal/rosa/state.go
index 83c904ec..f8cffce7 100644
--- a/internal/rosa/state.go
+++ b/internal/rosa/state.go
@@ -1466,7 +1466,11 @@ func (s *S) SetSource(fsys fs.FS) error {
return err
}
- if d.IsDir() && d.Name() == ".git" {
+ if d.IsDir() && slices.Contains([]string{
+ ".git",
+ "internal/rosa",
+ "cmd/mbf",
+ }, path) {
return fs.SkipDir
}