Skip to content

Commit

Permalink
Fix ruby 2.5
Browse files Browse the repository at this point in the history
  • Loading branch information
ntkme committed Jan 11, 2024
1 parent a60c2b8 commit 2d065f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ task :debug do
Sass.compile(filename).css
end
css = AutoprefixerRails.process(css)
out = File.join('tmp', "#{file[1..]}.css")
out = File.join('tmp', "#{file[1..-1]}.css")
File.write(out, css)
$stderr.puts Term::ANSIColor.green "Compiled #{out}"
end
Expand Down

0 comments on commit 2d065f6

Please sign in to comment.