mirror of
https://we.phorge.it/source/arcanist.git
synced 2024-11-22 14:52:40 +01:00
Merge pull request #31 from aurelijus/filename-linter-windows
Filename linter fix for Windows
This commit is contained in:
commit
35c30207bd
1 changed files with 1 additions and 1 deletions
|
@ -44,7 +44,7 @@ final class ArcanistFilenameLinter extends ArcanistLinter {
|
|||
}
|
||||
|
||||
public function lintPath($path) {
|
||||
if (!preg_match('@^[a-z0-9./_-]+$@i', $path)) {
|
||||
if (!preg_match('@^[a-z0-9./\\\\_-]+$@i', $path)) {
|
||||
$this->raiseLintAtPath(
|
||||
self::LINT_BAD_FILENAME,
|
||||
'Name files using only letters, numbers, period, hyphen and '.
|
||||
|
|
Loading…
Reference in a new issue