Fix code format check

This commit is contained in:
Alexander Batalov 2023-05-09 18:42:47 +03:00
parent a06097aef5
commit 6b6fa3f111
2 changed files with 2 additions and 2 deletions

View File

@ -41,7 +41,7 @@ jobs:
uses: actions/checkout@v3
- name: clang-format
run: find src -type f -exec clang-format --dry-run --Werror {} \;
run: clang-format --dry-run --Werror src/**/*.cc src/**/*.h
android:
name: Android

View File

@ -315,7 +315,7 @@ void compat_resolve_path(char* path)
#ifndef _WIN32
char* pch = path;
DIR *dir;
DIR* dir;
if (pch[0] == '/') {
dir = opendir("/");
pch++;