Skip to content

Commit

Permalink
[fix] Cache cleaner fix
Browse files Browse the repository at this point in the history
  • Loading branch information
reindexer-bot committed Dec 26, 2024
1 parent 9537b38 commit 8f6baab
Show file tree
Hide file tree
Showing 62 changed files with 1,040 additions and 1,192 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ jobs:
run: |
if [[ $OS == ubuntu* ]]; then
sudo ./dependencies.sh
python3 -m pip install setuptools
python3 -m pip install setuptools build
else
./dependencies.sh
fi
Expand Down Expand Up @@ -238,7 +238,9 @@ jobs:
with:
repository: restream/reindexer-py
- name: Install PyReindexer
run: sudo python3 setup.py install
run: |
python -m build
python -m pip install .
- name: Test PyReindexer
run: |
cd pyreindexer
Expand Down
3 changes: 1 addition & 2 deletions cjson/decoder.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,7 @@ func fieldByTag(t reflect.Type, tag string) (result reflect.StructField, ok bool
}
for i := 0; i < t.NumField(); i++ {
result = t.Field(i)
if ftag := result.Tag.Get("json"); len(ftag) > 0 {
ftag, _ = splitStr(ftag, ',')
if ftag, _ := splitStr(result.Tag.Get("json"), ','); len(ftag) > 0 {
if tag == ftag {
return result, true
}
Expand Down
31 changes: 0 additions & 31 deletions clang-tidy/.clang-tidy

This file was deleted.

10 changes: 0 additions & 10 deletions clang-tidy/.clang-tidy-ignore

This file was deleted.

Loading

0 comments on commit 8f6baab

Please sign in to comment.