Skip to content

Commit

Permalink
less_conversion.rb: Update stylelint comment removal
Browse files Browse the repository at this point in the history
  • Loading branch information
glebm committed Dec 14, 2018
1 parent 6634d0a commit 07b9b64
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tasks/converter/less_conversion.rb
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ def process_stylesheet_assets
log_processing name
# apply common conversions
file = convert_less(file)
file = replace_all file, %r{/\* stylelint-disable.*?\*/\n*}, '', optional: true
file = replace_all file, %r{// stylelint-disable.*?\n*}, '', optional: true
if name.start_with?('mixins/')
file = varargify_mixin_definitions(file, *VARARG_MIXINS)
%w(responsive-(in)?visibility input-size text-emphasis-variant bg-variant).each do |mixin|
Expand Down

0 comments on commit 07b9b64

Please sign in to comment.