aboutsummaryrefslogtreecommitdiffstats
path: root/binapigen/run.go
diff options
context:
space:
mode:
Diffstat (limited to 'binapigen/run.go')
-rw-r--r--binapigen/run.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/binapigen/run.go b/binapigen/run.go
index 8bb88fb..d632519 100644
--- a/binapigen/run.go
+++ b/binapigen/run.go
@@ -53,7 +53,7 @@ func run(apiDir string, filesToGenerate []string, opts Options, fn func(*Generat
if err != nil {
return fmt.Errorf("cannot resolve import path for output dir %s: %w", opts.OutputDir, err)
}
- logrus.Infof("resolved import path prefix: %s", opts.ImportPrefix)
+ logrus.Debugf("resolved import path prefix: %s", opts.ImportPrefix)
}
gen, err := New(opts, apiFiles, filesToGenerate)
@@ -73,7 +73,6 @@ func run(apiDir string, filesToGenerate []string, opts Options, fn func(*Generat
return err
}
}
-
if err = gen.Generate(); err != nil {
return err
}