Skip to content

Commit 3cd3aad

Browse files
committed
Finale clean up
1 parent fb339b4 commit 3cd3aad

2 files changed

Lines changed: 18 additions & 17 deletions

File tree

.pre-commit-config.yaml

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -142,23 +142,6 @@ repos:
142142
types: [python]
143143
pass_filenames: false
144144

145-
### Go client
146-
- id: go_format
147-
name: Go format
148-
# gofmt always returns zero exit code :sigh:
149-
entry: sh -c 'DIFF=$(gofmt -d -e client/go/trailbase/) && echo "${DIFF}" && test -z "${DIFF}"'
150-
language: system
151-
types: [go]
152-
files: .*\.(go)$
153-
pass_filenames: false
154-
155-
- id: go_test
156-
name: Go test
157-
entry: sh -c 'cd client/go/trailbase && go test -v'
158-
language: system
159-
types: [go]
160-
pass_filenames: false
161-
162145
### Swift client
163146
- id: swift_format
164147
name: Swift format
@@ -177,3 +160,20 @@ repos:
177160
language: system
178161
types: [swift]
179162
pass_filenames: false
163+
164+
### Go client
165+
- id: go_format
166+
name: Go format
167+
# gofmt always returns zero exit code :sigh:
168+
entry: sh -c 'DIFF=$(gofmt -d -e client/go/trailbase/) && echo "${DIFF}" && test -z "${DIFF}"'
169+
language: system
170+
types: [go]
171+
files: .*\.(go)$
172+
pass_filenames: false
173+
174+
- id: go_test
175+
name: Go test
176+
entry: sh -c 'cd client/go/trailbase && go test -v'
177+
language: system
178+
types: [go]
179+
pass_filenames: false

crates/assets/js/client/src/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -186,6 +186,7 @@ export type Or = {
186186

187187
export type FilterOrComposite = Filter | And | Or;
188188

189+
// TODO: consider generating these types with ts-rs to reduce manual duplication.
189190
export interface CreateOp {
190191
Create: {
191192
api_name: string;

0 commit comments

Comments
 (0)