Page MenuHomePhabricator

D14525.id35139.diff
No OneTemporary

D14525.id35139.diff

diff --git a/src/lint/linter/ArcanistRubyLinter.php b/src/lint/linter/ArcanistRubyLinter.php
--- a/src/lint/linter/ArcanistRubyLinter.php
+++ b/src/lint/linter/ArcanistRubyLinter.php
@@ -35,7 +35,7 @@
list($stdout) = execx('%C --version', $this->getExecutableCommand());
$matches = array();
- $regex = '/^ruby (?P<version>\d+\.\d+\.\d+)p\d+/';
+ $regex = '/^ruby (?P<version>\d+\.\d+\.\d+)+/';
if (preg_match($regex, $stdout, $matches)) {
return $matches['version'];
} else {

File Metadata

Mime Type
text/plain
Expires
Tue, Mar 25, 2:08 AM (1 w, 4 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7382899
Default Alt Text
D14525.id35139.diff (512 B)

Event Timeline