diff --git a/.github/workflows/timezone-update.yml b/.github/workflows/timezone-update.yml index 48af98b43..25ec63821 100644 --- a/.github/workflows/timezone-update.yml +++ b/.github/workflows/timezone-update.yml @@ -33,6 +33,7 @@ jobs: run: build\Release\tzextract.exe winpr\libwinpr\timezone - name: Format code run: | + clang-format -i --style=file:.clang-format winpr/libwinpr/timezone/WindowsZones.c clang-format -i --style=file:.clang-format winpr/libwinpr/timezone/TimeZoneNameMap.c clang-format -i --style=file:.clang-format winpr/libwinpr/timezone/TimeZoneNameMap.json - name: Create Pull Request diff --git a/winpr/libwinpr/timezone/utils/tzextract.cs b/winpr/libwinpr/timezone/utils/tzextract.cs index 4e637a553..0fc1e28bd 100644 --- a/winpr/libwinpr/timezone/utils/tzextract.cs +++ b/winpr/libwinpr/timezone/utils/tzextract.cs @@ -63,7 +63,6 @@ internal class Program fs.WriteLine("static const size_t " + fname + "Size = ARRAYSIZE(" + fname + ");"); fs.WriteLine(""); fs.WriteLine("// clang-format on"); - fs.WriteLine(""); } return true; }