Skip to content

Commit

Permalink
Allow name variations of mingw when detecting platforms
Browse files Browse the repository at this point in the history
  • Loading branch information
LocoDelAssembly committed Mar 20, 2024
1 parent 1fce781 commit 2bc2f57
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/biodiversity/parser/gnparser.rb
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ def start_gnparser
'linux'
when 'darwin'
'mac'
when 'mingw32'
when /^mingw\d{2}?$/
'win.exe'
else
raise "Unsupported platform: #{Gem.platforms[1].os}"
Expand Down

0 comments on commit 2bc2f57

Please sign in to comment.