Skip to content

Commit

Permalink
remove unused variables
Browse files Browse the repository at this point in the history
Signed-off-by: Matthias Aßhauer <[email protected]>
  • Loading branch information
rimrul committed Apr 10, 2024
1 parent 0c6c84b commit 24f7b5d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion GitForWindowsHelper/gently.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
module.exports = (fn, fallback) => {
try {
return fn()
} catch (e) {
} catch {
return fallback
}
}
2 changes: 1 addition & 1 deletion GitForWindowsHelper/https-request.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ const httpsRequest = async (context, hostname, method, requestPath, body, header
}
try {
resolve(JSON.parse(json))
} catch (e) {
} catch {
reject(`Invalid JSON: ${json}`)
}
})
Expand Down

0 comments on commit 24f7b5d

Please sign in to comment.