Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F14078008
D10352.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
811 B
Referenced Files
None
Subscribers
None
D10352.diff
View Options
diff --git a/src/workflow/ArcanistBrowseWorkflow.php b/src/workflow/ArcanistBrowseWorkflow.php
--- a/src/workflow/ArcanistBrowseWorkflow.php
+++ b/src/workflow/ArcanistBrowseWorkflow.php
@@ -144,10 +144,10 @@
// If we fail, try to resolve them as paths.
foreach ($things as $key => $path) {
- $line = null;
+ $lines = null;
$parts = explode(':', $path);
if (count($parts) > 1) {
- $line = (int)array_pop($parts);
+ $lines = array_pop($parts);
}
$path = implode(':', $parts);
@@ -173,8 +173,8 @@
$base_uri = $this->getBaseURI();
$uri = $base_uri.$path;
- if ($line) {
- $uri = $uri.'$'.$line;
+ if ($lines) {
+ $uri = $uri.'$'.$lines;
}
$uris[] = $uri;
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Nov 23, 1:44 AM (8 h, 33 m)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6776708
Default Alt Text
D10352.diff (811 B)
Attached To
Mode
D10352: Allow lines to be specified as comma delimited number ranges for arc browse
Attached
Detach File
Event Timeline
Log In to Comment