fix indentations

This commit is contained in:
Krishna Vedala 2020-05-29 14:51:32 -04:00
parent 749a9394cd
commit 21eab13043
1 changed files with 4 additions and 4 deletions

View File

@ -20,10 +20,10 @@ jobs:
- name: Formatter - name: Formatter
run: find -name '*.c' -o -name '*.h' | xargs clang-format -i -style="$line1 $line2 $line3 $line4" run: find -name '*.c' -o -name '*.h' | xargs clang-format -i -style="$line1 $line2 $line3 $line4"
env: env:
- line1="{ BasedOnStyle: LLVM, UseTab: Never," - line1="{ BasedOnStyle: LLVM, UseTab: Never,"
- line2="IndentWidth: 4, TabWidth: 4, BreakBeforeBraces: Allman," - line2="IndentWidth: 4, TabWidth: 4, BreakBeforeBraces: Allman,"
- line3="AllowShortIfStatementsOnASingleLine: false, IndentCaseLabels: false," - line3="AllowShortIfStatementsOnASingleLine: false, IndentCaseLabels: false,"
- line4="ColumnLimit: 80, AccessModifierOffset: -4 }" - line4="ColumnLimit: 80, AccessModifierOffset: -4 }"
- name: test - name: test
run: git diff run: git diff