From 07b9b642d4a189478290dd7dfbf5e2dbe239bf84 Mon Sep 17 00:00:00 2001 From: Gleb Mazovetskiy Date: Fri, 14 Dec 2018 11:15:14 +0000 Subject: [PATCH] less_conversion.rb: Update stylelint comment removal --- tasks/converter/less_conversion.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasks/converter/less_conversion.rb b/tasks/converter/less_conversion.rb index 3ce692e4b6..b993542823 100644 --- a/tasks/converter/less_conversion.rb +++ b/tasks/converter/less_conversion.rb @@ -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|