Skip to content

Commit 24f7b5d

Browse files
committed
remove unused variables
Signed-off-by: Matthias Aßhauer <mha1993@live.de>
1 parent 0c6c84b commit 24f7b5d

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

GitForWindowsHelper/gently.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
module.exports = (fn, fallback) => {
22
try {
33
return fn()
4-
} catch (e) {
4+
} catch {
55
return fallback
66
}
77
}

GitForWindowsHelper/https-request.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ const httpsRequest = async (context, hostname, method, requestPath, body, header
4747
}
4848
try {
4949
resolve(JSON.parse(json))
50-
} catch (e) {
50+
} catch {
5151
reject(`Invalid JSON: ${json}`)
5252
}
5353
})

0 commit comments

Comments
 (0)