Skip to content

Commit

Permalink
Empty ARGV before starting Kemal (#53)
Browse files Browse the repository at this point in the history
  • Loading branch information
hkalexling committed Jun 3, 2020
1 parent 3b737c0 commit 5412391
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/mango.cr
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ class CLI < Clim
Config.load(opts.config).set_current
MangaDex::Downloader.default

# empty ARGV so it won't be passed to Kemal
ARGV.clear
server = Server.new
server.start
end
Expand Down

0 comments on commit 5412391

Please sign in to comment.