Skip to content

Commit

Permalink
Update embedded.rb
Browse files Browse the repository at this point in the history
  • Loading branch information
ntkme committed May 10, 2023
1 parent 3de7469 commit ee2d84b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/sassc/embedded.rb
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ def source_map_file_url
def output_style
@output_style ||= begin
style = @options.fetch(:style, :sass_style_nested).to_s
style = "sass_style_#{style}" unless style.include?('sass_style_')
style = "sass_style_#{style}" unless style.start_with?('sass_style_')
raise InvalidStyleError unless OUTPUT_STYLES.include?(style.to_sym)

style = style.delete_prefix('sass_style_').to_sym
Expand Down

0 comments on commit ee2d84b

Please sign in to comment.