mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-05-28 18:26:54 +00:00
refactor: remove unused vars (#59658)
This commit is contained in:
committed by
GitHub
parent
9d2701b1ab
commit
5ef98680f9
@@ -30,7 +30,7 @@ function handleError(err, client) {
|
||||
console.error(err);
|
||||
try {
|
||||
client.close();
|
||||
} catch (e) {
|
||||
} catch {
|
||||
// no-op
|
||||
} finally {
|
||||
process.exit(1);
|
||||
|
||||
@@ -36,7 +36,7 @@ function handleError(err, client) {
|
||||
console.error(err);
|
||||
try {
|
||||
client.close();
|
||||
} catch (e) {
|
||||
} catch {
|
||||
// no-op
|
||||
} finally {
|
||||
process.exit(1);
|
||||
|
||||
@@ -24,7 +24,7 @@ function handleError(err, client) {
|
||||
console.error(err);
|
||||
try {
|
||||
client.close();
|
||||
} catch (e) {
|
||||
} catch {
|
||||
// no-op
|
||||
} finally {
|
||||
process.exit(1);
|
||||
|
||||
@@ -26,7 +26,7 @@ function handleError(err, client) {
|
||||
console.error(err);
|
||||
try {
|
||||
client.close();
|
||||
} catch (e) {
|
||||
} catch {
|
||||
// no-op
|
||||
} finally {
|
||||
process.exit(1);
|
||||
|
||||
Reference in New Issue
Block a user