Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F13962297
D12040.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
637 B
Referenced Files
None
Subscribers
None
D12040.diff
View Options
diff --git a/src/lint/linter/ArcanistLinter.php b/src/lint/linter/ArcanistLinter.php
--- a/src/lint/linter/ArcanistLinter.php
+++ b/src/lint/linter/ArcanistLinter.php
@@ -230,7 +230,8 @@
if (!$this->getEngine()->getCommitHookMode()) {
$root = $this->getEngine()->getWorkingCopy()->getProjectRoot();
$path = Filesystem::resolvePath($message->getPath(), $root);
- $message->setPath(Filesystem::readablePath($path, $root));
+ $path = Filesystem::readablePath($path, $root);
+ $message->setPath(str_replace(DIRECTORY_SEPARATOR, '/', $path));
}
$this->messages[] = $message;
return $message;
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Oct 16, 9:19 AM (3 w, 2 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6716920
Default Alt Text
D12040.diff (637 B)
Attached To
Mode
D12040: Use forward slashes when collecting linted paths
Attached
Detach File
Event Timeline
Log In to Comment