We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e35a711 commit 3ee4579Copy full SHA for 3ee4579
internal/librarian/golang/generate.go
@@ -184,6 +184,9 @@ func buildGAPICImportPath(goAPI *config.GoAPI) string {
184
// generated package into the library directory, fixing version paths, and removing any paths configured
185
// for deletion.
186
func moveGeneratedFiles(library *config.Library, outDir string) error {
187
+ if len(library.APIs) == 0 {
188
+ return nil
189
+ }
190
src := filepath.Join(outDir, "cloud.google.com", "go")
191
if _, err := os.Stat(src); err != nil {
192
return fmt.Errorf("cannot access directory %q: %w", src, err)
0 commit comments