cast into PosixPath to str before writing to file

This commit is contained in:
Trung Nguyen
2024-08-25 16:41:26 -05:00
parent 9f20e5b7f7
commit 1148f5f5c8
2 changed files with 1 additions and 3 deletions

View File

@ -81,8 +81,6 @@ jobs:
# restrict to official LAMMPS repository
if: ${{ github.repository == 'lammps/lammps' }}
runs-on: ubuntu-latest
env:
CCACHE_DIR: ${{ github.workspace }}/.ccache
strategy:
max-parallel: 2
matrix:

View File

@ -264,7 +264,7 @@ if __name__ == "__main__":
with open('input_list.txt', 'w') as f:
for inp in inputs:
print(inp)
f.write(inp + '\n')
f.write(str(inp) + '\n')
print("Found changes to the following styles:")
print("Commands: ", styles['command'])