Skip to content

Commit

Permalink
change: Reduced pathKeysNoTrailingSlash to warning from error #155
Browse files Browse the repository at this point in the history
Docs updated also.
  • Loading branch information
daveshanley committed Nov 8, 2022
1 parent eaa74e7 commit 0b2fa81
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rulesets/ruleset_functions.go
Original file line number Diff line number Diff line change
Expand Up @@ -603,7 +603,7 @@ func GetPathNoTrailingSlashRule() *model.Rule {
RuleCategory: model.RuleCategories[model.CategoryOperations],
Recommended: true,
Type: validation,
Severity: model.SeverityError,
Severity: model.SeverityWarn,
Then: model.RuleAction{
Function: "pattern",
FunctionOptions: opts,
Expand Down

0 comments on commit 0b2fa81

Please sign in to comment.