Skip to content

Commit b601994

Browse files
authored
fix(internal/sidekick): hardcode dart as excluded path (#1564)
Sidekick currently hardcodes paths that are excluded when running on the google-cloud-rust repo. Change this from generator/ to dart/ since the code moved. This logic will be refactored in a follow-up PR. For #1563
1 parent 7b4437a commit b601994

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

internal/sidekick/refreshall.go

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,9 +111,12 @@ func findAllDirectories() ([]string, error) {
111111
return nil
112112
}
113113
dir := filepath.Dir(path)
114+
115+
// TODO(https://github.com/googleapis/librarian/issues/1563): do not
116+
// harcode
114117
ignored := []string{
115118
"target/package/", // The output from `cargo package`
116-
"generator/", // Testing
119+
"dart/", // Testing
117120
}
118121
for _, candidate := range ignored {
119122
if strings.Contains(dir, candidate) {

0 commit comments

Comments
 (0)