mirror of
https://we.phorge.it/source/arcanist.git
synced 2025-04-07 18:08:29 +02: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) {
|
public function lintPath($path) {
|
||||||
if (!preg_match('@^[a-z0-9./_-]+$@i', $path)) {
|
if (!preg_match('@^[a-z0-9./\\\\_-]+$@i', $path)) {
|
||||||
$this->raiseLintAtPath(
|
$this->raiseLintAtPath(
|
||||||
self::LINT_BAD_FILENAME,
|
self::LINT_BAD_FILENAME,
|
||||||
'Name files using only letters, numbers, period, hyphen and '.
|
'Name files using only letters, numbers, period, hyphen and '.
|
||||||
|
|
Loading…
Add table
Reference in a new issue