Skip to content

Commit

Permalink
Writes new lines at the end of the file
Browse files Browse the repository at this point in the history
  • Loading branch information
edassis committed Dec 14, 2023
1 parent 66a665d commit cbcf37a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion GodotEnv/src/common/clients/FileClient.cs
Original file line number Diff line number Diff line change
Expand Up @@ -633,7 +633,7 @@ public void AddLinesToFileIfNotPresent(
line => !compareLines.Contains(line.ToLower().Trim())
);

WriteLines(filePath, newLines.Concat(existingLines));
WriteLines(filePath, existingLines.Concat(newLines));
}

public string FindLineBeginningWithPrefix(string filePath, string prefix) {
Expand Down

0 comments on commit cbcf37a

Please sign in to comment.