Fix code format check
This commit is contained in:
parent
a06097aef5
commit
6b6fa3f111
|
@ -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
|
||||
|
|
|
@ -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++;
|
||||
|
|
Loading…
Reference in New Issue