Skip to content

Commit 6ac562e

Browse files
authored
fix(sidekick): skip dart directory (#1570)
For #1563
1 parent b601994 commit 6ac562e

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
@@ -114,9 +114,12 @@ func findAllDirectories() ([]string, error) {
114114

115115
// TODO(https://github.com/googleapis/librarian/issues/1563): do not
116116
// harcode
117+
if dir == "dart" {
118+
return nil
119+
}
117120
ignored := []string{
118-
"target/package/", // The output from `cargo package`
119121
"dart/", // Testing
122+
"target/package/", // The output from `cargo package`
120123
}
121124
for _, candidate := range ignored {
122125
if strings.Contains(dir, candidate) {

0 commit comments

Comments
 (0)