Skip to content

Commit

Permalink
fix: rubocop offenses
Browse files Browse the repository at this point in the history
  • Loading branch information
DirtyF committed Jun 24, 2019
1 parent 62ef356 commit da09c4e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lib/jekyll-import/importers/roller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ def self.process(opts)
begin
require "htmlentities"
rescue LoadError
STDERR.puts "Could not require 'htmlentities', so the :clean_entities option is now disabled."
warn "Could not require 'htmlentities', so the :clean_entities option is now disabled."
options[:clean_entities] = false
end
end
Expand Down
2 changes: 1 addition & 1 deletion lib/jekyll-import/importers/s9y_database.rb
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ def self.require_if_available(gem_name, option_name)
require gem_name
true
rescue LoadError
STDERR.puts "Could not require '#{gem_name}', so the :#{option_name} option is now disabled."
warn "Could not require '#{gem_name}', so the :#{option_name} option is now disabled."
true
end

Expand Down
2 changes: 1 addition & 1 deletion lib/jekyll-import/importers/wordpress.rb
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ def self.process(opts)
begin
require "htmlentities"
rescue LoadError
STDERR.puts "Could not require 'htmlentities', so the " \
warn "Could not require 'htmlentities', so the " \
":clean_entities option is now disabled."
options[:clean_entities] = false
end
Expand Down

0 comments on commit da09c4e

Please sign in to comment.