Skip to content

Commit e3cdeed

Browse files
committed
Lint project
1 parent 076206e commit e3cdeed

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/linter.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -45,18 +45,18 @@ export default class Linter {
4545

4646
// When there is no defined protolint path, just return the protolint binary which will
4747
// call protolint directly and assume that its available in the user's PATH.
48-
return "protolint"
48+
return "protolint";
4949
}
5050

5151
private async runProtoLint(): Promise<string> {
5252
if (!vscode.workspace.workspaceFolders) {
5353
return "";
5454
}
5555

56-
let currentFile = this.codeDocument.uri.fsPath
57-
let currentDirectory = path.dirname(currentFile)
56+
let currentFile = this.codeDocument.uri.fsPath;
57+
let currentDirectory = path.dirname(currentFile);
5858

59-
let protoLintPath = this.getProtoLintPath()
59+
let protoLintPath = this.getProtoLintPath();
6060
const cmd = `${protoLintPath} lint "${currentFile}"`;
6161

6262
// Execute the protolint binary and store the output from standard error.

0 commit comments

Comments
 (0)