Skip to content

Commit 418960c

Browse files
committed
fix: run main function
1 parent 7cc4427 commit 418960c

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

lib/index.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/index.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ let usingLocalFile: boolean
1111
try {
1212
checkInputs()
1313

14+
// @ts-expect-error
1415
const labels = usingLocalFile
1516
? readConfigFile(getInput('config-file'))
1617
: await fetchRepoLabels(getInput('source-repo'), getInput('source-repo-token'))
@@ -28,7 +29,7 @@ let usingLocalFile: boolean
2829
core.info(JSON.stringify(diff, null, 2))
2930
core.endGroup()
3031
} catch (e) { setFailed(e) }
31-
})
32+
})()
3233

3334
function isProperConfig(value: any): value is LabelInfo[] {
3435
return value instanceof Array

0 commit comments

Comments
 (0)