engine->isRelevantMessage expects forward slashes, but on Windows, Filesystem::readablePath returns backslashes.
Fixes T7527
Differential D12040
Use forward slashes when collecting linted paths staticshock on Mar 11 2015, 2:39 PM. Authored by Tags None Referenced Files
Subscribers
Details
engine->isRelevantMessage expects forward slashes, but on Windows, Filesystem::readablePath returns backslashes. Fixes T7527 Removed a semicolon from a js file, ran jshint linter on Windows via arc lint, saw warning.
Diff Detail
Event TimelineComment Actions I think the more correct behavior would be to fix ArcanistLintEngine::isRelevantMessage to use DIRECTORY_SEPARATOR instead of / on Windows (although it's not immediately clear to me what the problem is from looking at the code). |