Skip to content

Commit

Permalink
make ExportOperations relative to config file
Browse files Browse the repository at this point in the history
  • Loading branch information
benjaminjkraft committed Apr 21, 2021
1 parent 2272ad8 commit 76d3729
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions generate/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@ func (c *Config) ValidateAndFillDefaults(configFilename string) error {
c.Operations[i] = filepath.Join(c.baseDir(), c.Operations[i])
}
c.Generated = filepath.Join(c.baseDir(), c.Generated)
c.ExportOperations = filepath.Join(c.baseDir(), c.ExportOperations)

if c.Package == "" {
abs, err := filepath.Abs(c.Generated)
Expand Down

0 comments on commit 76d3729

Please sign in to comment.