Closed Soptq closed 4 years ago
Line 150 causes a warning of using the last argument as keyword parameters in ruby 2.7 and will raise an error in ruby 3.0.
def read_file(file, context) File.read(file, file_read_opts(context)) end
Will make a PR to address this issue very soon.
https://github.com/tnhu/jekyll-include-absolute-plugin/blob/master/include_absolute.rb#L150
Thanks @Soptq, I don't actively use Jekyll anymore so won't have an environment to test the change. Could you make sure the proposed change work under Ruby 2.x as well?
Line 150 causes a warning of using the last argument as keyword parameters in ruby 2.7 and will raise an error in ruby 3.0.
Will make a PR to address this issue very soon.