Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
maciaszczykm committed Sep 24, 2024
1 parent a4a2922 commit c3b8950
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 21 deletions.
20 changes: 0 additions & 20 deletions docs/liquid-filters.md
Original file line number Diff line number Diff line change
Expand Up @@ -506,16 +506,6 @@ _Example_: `now | dateModify "-1.5h"` will subtract an hour and thirty minutes f


_Aliases_: `date_modify`\
_Implementation_: `github.com/Masterminds/sprig/v3.dateModify`

## `date_modify`







_Implementation_: `github.com/Masterminds/sprig/v3.dateModify`

## `decryptAES`
Expand Down Expand Up @@ -1742,16 +1732,6 @@ _Example_: `mustWithout ( list 1 2 3 4 5) 1 3 5` returns `[2, 4]`.

_Implementation_: `github.com/Masterminds/sprig/v3.mustWithout`

## `must_date_modify`







_Implementation_: `github.com/Masterminds/sprig/v3.mustDateModify`

## `nindent`


Expand Down
9 changes: 8 additions & 1 deletion template/liquid.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,14 @@ var (
liquidEngine = liquid.NewEngine()

// excludedSprigFunctions contains names of Spring functions that will be excluded.
excludedSprigFunctions = []string{"date_in_zone", "hello", "now", "uuidv4"}
excludedSprigFunctions = []string{
"date_in_zone",
"date_modify",
"hello",
"must_date_modify",
"now",
"uuidv4",
}

// sprigFunctionNameAliases contains additional aliases for Sprig functions.
sprigFunctionNameAliases = map[string][]string{
Expand Down

0 comments on commit c3b8950

Please sign in to comment.