Skip to content

Commit d0f4e08

Browse files
committed
Checks actual text autoconfiguration
1 parent 8889a2c commit d0f4e08

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

src/Analysers/AbstractExportIgnoreAnalyser.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -446,6 +446,10 @@ public function hasPrecedingSlashesInExportIgnorePattern(): bool
446446
*/
447447
public function hasTextAutoconfiguration(): bool
448448
{
449+
if (\str_contains($this->gitattributesFileRepository->getGitattributesContent(), 'text=auto eol=lf')) {
450+
$this->hasTextAutoconfiguration = true;
451+
}
452+
449453
return $this->hasTextAutoconfiguration;
450454
}
451455

0 commit comments

Comments
 (0)