Skip to content

Commit 3f4f491

Browse files
committed
style: immutable constant
1 parent c89a39f commit 3f4f491

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/jekyll-feed/generator.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ def generate(site)
2525
# 1. A '>', which closes an XML tag or
2626
# 2. A '}', which closes a Liquid tag
2727
# We will strip all of this whitespace to minify the template
28-
MINIFY_REGEX = %r!(?<=>|})\s+!
28+
MINIFY_REGEX = %r!(?<=>|})\s+!.freeze
2929

3030
# Returns the plugin's config or an empty hash if not set
3131
def config

0 commit comments

Comments
 (0)