lib/hanami/assets/compilers/sass.rb in hanami-assets-1.3.0 vs lib/hanami/assets/compilers/sass.rb in hanami-assets-1.3.1
- old
+ new
@@ -6,10 +6,10 @@
# @since 0.3.0
# @api private
class Sass < Compiler
# @since 0.3.0
# @api private
- EXTENSIONS = /\.(sass|scss)\z/
+ EXTENSIONS = /\.(sass|scss)\z/.freeze
# @since 0.1.0
# @api private
CACHE_LOCATION = Pathname(Hanami.respond_to?(:root) ? # rubocop:disable Style/MultilineTernaryOperator
Hanami.root : Dir.pwd).join('tmp', 'sass-cache')