Skip to content

Commit

Permalink
Add newline character
Browse files Browse the repository at this point in the history
  • Loading branch information
rikardn committed Aug 27, 2024
1 parent 34f03fc commit ad06a50
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/actions/check-pharmr/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ runs:
commit = subprocess.getoutput("git -C ../pharmpy_repo rev-parse HEAD")
with open("R/install.R", "r") as fp:
lines = fp.readlines()
lines[0] = f'"{commit}"'
lines[0] = f'"{commit}"\n'
with open("R/install.R", "w") as fp:
for line in lines:
fp.write(line)
Expand Down

0 comments on commit ad06a50

Please sign in to comment.