Skip to content

Commit

Permalink
Update version to v1.4.121 and commit
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Dec 13, 2024
1 parent 82379ee commit aa2881f
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion pkgs/fabric/version.nix
Original file line number Diff line number Diff line change
@@ -1 +1 @@
"1.4.120"
"1.4.121"
10 changes: 5 additions & 5 deletions plugins/db/fsdb/patterns.go
Original file line number Diff line number Diff line change
Expand Up @@ -64,10 +64,10 @@ func (o *PatternsEntity) applyVariables(
// Ensure pattern has an {{input}} placeholder
// If not present, append it on a new line
if !strings.Contains(pattern.Pattern, "{{input}}") {
if !strings.HasSuffix(pattern.Pattern, "\n") {
pattern.Pattern += "\n"
}
pattern.Pattern += "{{input}}"
if !strings.HasSuffix(pattern.Pattern, "\n") {
pattern.Pattern += "\n"
}
pattern.Pattern += "{{input}}"
}

// Temporarily replace {{input}} with a sentinel token to protect it
Expand All @@ -78,7 +78,7 @@ func (o *PatternsEntity) applyVariables(
// At this point, our sentinel ensures {{input}} won't be affected
var processed string
if processed, err = template.ApplyTemplate(withSentinel, variables, ""); err != nil {
return
return
}

// Finally, replace our sentinel with the actual user input
Expand Down
2 changes: 1 addition & 1 deletion version.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
package main

var version = "v1.4.120"
var version = "v1.4.121"

0 comments on commit aa2881f

Please sign in to comment.