diff --git a/.github/actions/check-pharmr/action.yml b/.github/actions/check-pharmr/action.yml index 16134f5..3f1e7f6 100644 --- a/.github/actions/check-pharmr/action.yml +++ b/.github/actions/check-pharmr/action.yml @@ -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)