Skip to content

Commit

Permalink
fixed lint issues
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnstonCode committed Mar 3, 2020
1 parent d0eec0d commit 2897fe2
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 9 deletions.
2 changes: 1 addition & 1 deletion src/commands/log.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { SvnUriAction } from "../common/types";
import { Repository } from "../repository";
import { toSvnUri } from "../uri";
import { Command } from "./command";
import * as nls from 'vscode-nls';
import * as nls from "vscode-nls";

const localize = nls.loadMessageBundle();

Expand Down
8 changes: 2 additions & 6 deletions src/commands/search_log_by_revision.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,7 @@ export class SearchLogByRevision extends Command {

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

Expand All @@ -42,9 +40,7 @@ export class SearchLogByRevision extends Command {
await commands.executeCommand<void>("vscode.open", uri);
} catch (error) {
console.error(error);
window.showErrorMessage(
localize("unable_to_log", "Unable to log")
);
window.showErrorMessage(localize("unable_to_log", "Unable to log"));
}
}
}
2 changes: 1 addition & 1 deletion src/treeView/nodes/incomingChangeNode.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { Repository } from "../../repository";
import { Resource } from "../../resource";
import { getIconUri } from "../../uri";
import BaseNode from "./baseNode";
import * as nls from 'vscode-nls';
import * as nls from "vscode-nls";

const localize = nls.loadMessageBundle();

Expand Down
2 changes: 1 addition & 1 deletion src/treeView/nodes/incomingChangesNode.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { getIconUri } from "../../uri";
import BaseNode from "./baseNode";
import IncomingChangeNode from "./incomingChangeNode";
import NoIncomingChangesNode from "./noIncomingChangesNode";
import * as nls from 'vscode-nls';
import * as nls from "vscode-nls";

const localize = nls.loadMessageBundle();

Expand Down

0 comments on commit 2897fe2

Please sign in to comment.