Skip to content

Commit

Permalink
[Bugfix] Do not Modify File Contents of Recursed Directories (#645)
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinmatthes committed Aug 24, 2023
1 parent 6a24665 commit 7816eaa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/traits/read_file.rs
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ impl ReadFile for PathBuf {
.path()
.behaviour(show_error_messages)
{
Ok(string) => result.append_as_line(string),
Ok(string) => result.push_str(&string),
Err(error) => return Err(error),
}
}
Expand Down

0 comments on commit 7816eaa

Please sign in to comment.