Skip to content

Commit 2a62da9

Browse files
committed
Fix linter
1 parent 4f5ee79 commit 2a62da9

2 files changed

Lines changed: 8 additions & 3 deletions

File tree

actions/gls-action/scripts/generateTypes.ts

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@ const state = {
1515

1616
async function run() {
1717
await loadAllDefinitions({
18-
onError: handler => {
18+
onError: () => {
1919
},
20-
connect: options => Promise.resolve([]),
21-
dispatchEvent: (event, payload) => Promise.resolve(),
20+
connect: () => Promise.resolve([]),
21+
dispatchEvent: () => Promise.resolve(),
2222
getProjectActionConfigurations: () => [],
2323
config: {
2424
authToken: "",
@@ -49,6 +49,10 @@ async function run() {
4949
return Promise.resolve()
5050
},
5151
registerFlowTypes: (...flowTypes) => {
52+
state.flowTypes = [
53+
...state.flowTypes,
54+
...flowTypes
55+
]
5256
return Promise.resolve()
5357
}
5458

actions/gls-action/src/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ async function main() {
1818
console.error(error)
1919
}
2020
}
21+
2122
main().catch(err => {
2223
console.error(err)
2324
process.exit(1)

0 commit comments

Comments
 (0)