Skip to content

Commit

Permalink
fix formatting workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
stephprince committed Dec 11, 2024
1 parent 1b97d66 commit cc62f68
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v4
- name: Lint
run: cmake -D FORMAT_COMMAND=clang-format-14 -P cmake/lint.cmake
run: cmake -D FORMAT_COMMAND=clang-format -P cmake/lint.cmake
3 changes: 2 additions & 1 deletion tests/testHDF5IO.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -321,7 +321,8 @@ TEST_CASE("SWMRmode", "[hdf5io]")
[](const std::string& cmd, std::promise<int> promise)
{
#ifdef _WIN32
_putenv_s("HDF5_USE_FILE_LOCKING", "FALSE"); // required on Windows to allow writer process to access file
// required on Windows to allow writer process to access file
_putenv_s("HDF5_USE_FILE_LOCKING", "FALSE");
#endif
int ret = std::system(cmd.c_str());
promise.set_value(ret);
Expand Down

0 comments on commit cc62f68

Please sign in to comment.