Skip to content

Commit 2897fe2

Browse files
committed
fixed lint issues
1 parent d0eec0d commit 2897fe2

File tree

4 files changed

+5
-9
lines changed

4 files changed

+5
-9
lines changed

src/commands/log.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { SvnUriAction } from "../common/types";
44
import { Repository } from "../repository";
55
import { toSvnUri } from "../uri";
66
import { Command } from "./command";
7-
import * as nls from 'vscode-nls';
7+
import * as nls from "vscode-nls";
88

99
const localize = nls.loadMessageBundle();
1010

src/commands/search_log_by_revision.ts

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,7 @@ export class SearchLogByRevision extends Command {
2323

2424
const revision = parseInt(input, 10);
2525
if (!revision || !/^\+?(0|[1-9]\d*)$/.test(input)) {
26-
window.showErrorMessage(
27-
localize("invalid_revision", "Invalid revision")
28-
);
26+
window.showErrorMessage(localize("invalid_revision", "Invalid revision"));
2927
return;
3028
}
3129

@@ -42,9 +40,7 @@ export class SearchLogByRevision extends Command {
4240
await commands.executeCommand<void>("vscode.open", uri);
4341
} catch (error) {
4442
console.error(error);
45-
window.showErrorMessage(
46-
localize("unable_to_log", "Unable to log")
47-
);
43+
window.showErrorMessage(localize("unable_to_log", "Unable to log"));
4844
}
4945
}
5046
}

src/treeView/nodes/incomingChangeNode.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { Repository } from "../../repository";
44
import { Resource } from "../../resource";
55
import { getIconUri } from "../../uri";
66
import BaseNode from "./baseNode";
7-
import * as nls from 'vscode-nls';
7+
import * as nls from "vscode-nls";
88

99
const localize = nls.loadMessageBundle();
1010

src/treeView/nodes/incomingChangesNode.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { getIconUri } from "../../uri";
44
import BaseNode from "./baseNode";
55
import IncomingChangeNode from "./incomingChangeNode";
66
import NoIncomingChangesNode from "./noIncomingChangesNode";
7-
import * as nls from 'vscode-nls';
7+
import * as nls from "vscode-nls";
88

99
const localize = nls.loadMessageBundle();
1010

0 commit comments

Comments
 (0)