We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4f0b7bd commit a9f54eaCopy full SHA for a9f54ea
bin/github-lint.js
@@ -17,8 +17,8 @@ function execFile(command, args) {
17
})
18
}
19
20
-try {
21
- ;(async function() {
+;(async function() {
+ try {
22
let runs = 0
23
const codes = []
24
const commands = []
@@ -58,9 +58,9 @@ try {
58
process.stderr.write(`\nCommand failed: ${nonzero}\n`)
59
process.exit(nonzero)
60
61
- })()
62
-} catch (error) {
63
- setTimeout(() => {
64
- throw error
65
- })
66
-}
+ } catch (error) {
+ setTimeout(() => {
+ throw error
+ })
+ }
+})()
0 commit comments