Skip to content

Commit

Permalink
[BUGFIX] Remove redundant new line (#11)
Browse files Browse the repository at this point in the history
- During the Yaml::dump a final new line is already added. No need to add it twice
  • Loading branch information
sabbelasichon committed May 11, 2021
1 parent a09d515 commit 54d89a4
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions packages/FileFormatter/Formatter/YamlFileFormatter.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,6 @@ public function format(File $file, EditorConfigConfiguration $editorConfigConfig

$newFileContent = Yaml::dump($yaml, 99, $editorConfigConfiguration->getIndentSize());

$newFileContent .= $editorConfigConfiguration->getFinalNewline();

$file->changeFileContent($newFileContent);
}

Expand Down

0 comments on commit 54d89a4

Please sign in to comment.