Skip to content

Commit 659ddac

Browse files
committed
Remove unused variables
1 parent 8cc9f00 commit 659ddac

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

Scripts/Flake8Process.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,15 +48,15 @@ class Flake8Process {
4848
this.violations.push(new Violation(output));
4949
}
5050

51-
didExit(exitStatus) {
51+
didExit() {
5252
if (this.stdErrorOutput) {
5353
const request = new NotificationRequest("blake-flake8-error");
5454
request.title = nova.localize("Flake8 error");
5555
request.body = nova.localize(this.stdErrorOutput);
5656
request.actions = [nova.localize("OK")];
5757
const promise = nova.notifications.add(request);
5858
promise.then(
59-
reply => { },
59+
_ => { },
6060
error => {
6161
console.error(error);
6262
}

Scripts/Formatter.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ class Formatter {
1212
request.actions = [nova.localize("OK")];
1313
const promise = nova.notifications.add(request);
1414
promise.then(
15-
reply => { },
15+
_ => { },
1616
error => {
1717
console.error(error);
1818
}

Scripts/main.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ exports.activate = function() {
1414

1515
linter.lintDocument(document);
1616

17-
editor.onDidSave(editor => linter.lintDocument(document));
17+
editor.onDidSave(_ => linter.lintDocument(document));
1818
document.onDidChangeSyntax(document => linter.lintDocument(document));
1919
editor.onWillSave(editor => {
2020
const formatOnSave = nova.workspace.config.get("is.flother.Blake.formatOnSave");

0 commit comments

Comments
 (0)