Skip to content

Commit

Permalink
Fix Rubocop offenses
Browse files Browse the repository at this point in the history
  • Loading branch information
joeyates committed Feb 19, 2024
1 parent 5b10b87 commit 23cf6a4
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions contrib/extract-email
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,13 @@ class Options

private

USAGE = "Usage: #{$PROGRAM_NAME} --config my-config.json --account me@example.com --folder INBOX --uid 12345 --quiet"
USAGE =
"Usage: #{$PROGRAM_NAME} " \
"--config my-config.json " \
"--account me@example.com " \
"--folder INBOX " \
"--uid 12345 " \
"--quiet"

def parser
@parser ||= OptionParser.new do |opts|
Expand Down Expand Up @@ -74,9 +80,9 @@ class Options
end

def fail(message)
$stderr.puts message
$stderr.puts
$stderr.puts USAGE
warn message
warn ""
warn USAGE
exit 1
end
end
Expand Down

0 comments on commit 23cf6a4

Please sign in to comment.