Skip to content

Commit c87b4a7

Browse files
committed
Fix unintended pipe in regex in build task
1 parent a3120d6 commit c87b4a7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tasks/build.rake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ namespace :vox do
1010

1111
abort 'You must provide a platform.' if args[:platform].nil? || args[:platform].empty?
1212
platform = args[:platform]
13-
os, _ver, arch = platform.match(/^(\w+)-([\w|.]+)-(\w+)$/).captures
13+
os, _ver, arch = platform.match(/^(\w+)-([\w.]+)-(\w+)$/).captures
1414
if os == 'macos'
1515
shell = `uname -m`.chomp
1616
ruby = `ruby -v`.chomp

0 commit comments

Comments
 (0)