Skip to content

Commit

Permalink
fix method GetCurrentlyCreatedFilename
Browse files Browse the repository at this point in the history
  • Loading branch information
deemount committed Mar 28, 2024
1 parent bb5904e commit 6e2eee1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion builder.go
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ func (bldr Builder) GetCurrentlyCreatedFilename() string {
// It is a helper method to get the current bpmn filename with path, which
// relies on the same instance
func (bldr Builder) GetCurrentlyCreatedFile() string {
return fmt.Sprintf("%s/%s_%d", bldr.FilePathBPMN, bldr.FilenamePrefix, bldr.Counter)
return fmt.Sprintf("%s/%s_%d.bpmn", bldr.FilePathBPMN, bldr.FilenamePrefix, bldr.Counter)
}

// Build builds the bpmn and json files and returns the builder
Expand Down

0 comments on commit 6e2eee1

Please sign in to comment.