Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commite102f96

Browse files
committed
simplify path build
1 parent883450e commite102f96

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎src/Symfony/Component/Finder/Finder.php‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -721,7 +721,7 @@ private function searchInDirectory(string $dir): \Iterator
721721
}
722722

723723
if (static::IGNORE_VCS_IGNORED_FILES === (static::IGNORE_VCS_IGNORED_FILES &$this->ignore)) {
724-
$gitignoreFilePath =sprintf('%s/.gitignore',$dir);
724+
$gitignoreFilePath =$dir.'/.gitignore';
725725
if (!is_readable($gitignoreFilePath)) {
726726
thrownew \RuntimeException(sprintf('The "ignoreVCSIgnored" option cannot be used by the Finder as the "%s" file is not readable.',$gitignoreFilePath));
727727
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp