File tree Expand file tree Collapse file tree 2 files changed +10
-7
lines changed Expand file tree Collapse file tree 2 files changed +10
-7
lines changed Original file line number Diff line number Diff line change 11on :
22 push :
3- # branches: ["*"]
4- # pull_request:
5- # branches: ["*"]
3+ pull_request :
64
75name : Format Code
86
1513 uses : actions/checkout@v2
1614 - name : Set up Flutter
1715 uses : subosito/flutter-action@v1
18- - run : |
19- dart format --line-length 110 --set-exit-if-changed \
16+ - name : Format code
17+ run : |
18+ dart format --line-length 110 \
2019 $(find lib test -name '*.dart' -not -name '*.g.dart' -and -not -name '*.freezed.dart')
20+ - name : Commit changes
21+ uses : stefanzweifel/git-auto-commit-action@v5
22+ with :
23+ commit_message : " dart format ✅"
24+ branch : ${{ github.head_ref }}
Original file line number Diff line number Diff line change @@ -95,8 +95,7 @@ class ArucoDictionary extends CvStruct<cvg.ArucoDictionary> {
9595
9696 @override
9797 cvg.ArucoDictionary get ref => ptr.ref;
98- static final finalizer =
99- OcvFinalizer <cvg.ArucoDictionaryPtr >(CFFI .addresses.ArucoDictionary_Close );
98+ static final finalizer = OcvFinalizer <cvg.ArucoDictionaryPtr >(CFFI .addresses.ArucoDictionary_Close );
10099
101100 void dispose () {
102101 finalizer.detach (this );
You can’t perform that action at this time.
0 commit comments