DEV: Avoid emoji for symbols
Rake task needs to work across a wide variety of terminal emulators. Requiring an emoji font is superflous.
This commit is contained in:
parent
1318e0b288
commit
b9a2a4d904
|
@ -717,18 +717,18 @@ def correct_inline_uploads
|
||||||
puts Diffy::Diff.new(PrettyText.cook(post.raw), PrettyText.cook(new_raw), context: 1)
|
puts Diffy::Diff.new(PrettyText.cook(post.raw), PrettyText.cook(new_raw), context: 1)
|
||||||
puts
|
puts
|
||||||
elsif dry_run
|
elsif dry_run
|
||||||
putc "🏃"
|
putc "#"
|
||||||
else
|
else
|
||||||
putc "🆗"
|
putc "."
|
||||||
end
|
end
|
||||||
|
|
||||||
fixed_count += 1
|
fixed_count += 1
|
||||||
else
|
else
|
||||||
putc "❌"
|
putc "X"
|
||||||
not_corrected_post_ids << post.id
|
not_corrected_post_ids << post.id
|
||||||
end
|
end
|
||||||
rescue => e
|
rescue
|
||||||
putc "🚫"
|
putc "!"
|
||||||
failed_to_correct_post_ids << post.id
|
failed_to_correct_post_ids << post.id
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue