Skip to content

Commit 503c899

Browse files
committed
Add new line at end of table in GitHub Actions binary
1 parent 1c37bf2 commit 503c899

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/bin/md-table-action.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ fn main() -> GitHubActionResult {
3636
let out_file_path = runner_temp_dir.join("markdown-table-".to_owned() + in_file_stem + ".md");
3737

3838
// Write markdown table to output file
39-
std::fs::write(&out_file_path, md_table)?;
39+
std::fs::write(&out_file_path, md_table+"\n")?;
4040

4141
// Export output file path as a GitHub Actions output for other steps to consume
4242
let outputfile = out_file_path.to_str().unwrap();

0 commit comments

Comments
 (0)