Skip to content

Commit 65c6302

Browse files
committed
cleaned up trailing whitespace and inits
1 parent 2c7a843 commit 65c6302

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

.appveyor.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ install:
2121
- node --version
2222
- npm --version
2323
- npm install
24-
24+
2525
build_script:
2626
- vsce package -o svn-scm.vsix
2727
# For coverage

src/commands.ts

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -266,8 +266,7 @@ export class SvnCommands implements IDisposable {
266266
} catch (error) {
267267
console.log(error);
268268
window.showErrorMessage(
269-
`Unable to remove file
270-
"${paths.join(",")}" from changelist`
269+
`Unable to remove file "${paths.join(",")}" from changelist`
271270
);
272271
}
273272
} else {
@@ -276,8 +275,9 @@ export class SvnCommands implements IDisposable {
276275
} catch (error) {
277276
console.log(error);
278277
window.showErrorMessage(
279-
`Unable to add file
280-
"${paths.join(",")}" to changelist "${changelistName}"`
278+
`Unable to add file "${paths.join(
279+
","
280+
)}" to changelist "${changelistName}"`
281281
);
282282
}
283283
}
@@ -410,7 +410,7 @@ export class SvnCommands implements IDisposable {
410410

411411
@command("svn.openHEADFile")
412412
async openHEADFile(arg?: Resource | Uri): Promise<void> {
413-
let resource: Resource | undefined = undefined;
413+
let resource: Resource | undefined;
414414

415415
if (arg instanceof Resource) {
416416
resource = arg;
@@ -468,15 +468,15 @@ export class SvnCommands implements IDisposable {
468468
): Promise<void> {
469469
const preserveFocus = arg instanceof Resource;
470470
const preserveSelection = arg instanceof Uri || !arg;
471-
let resources: Resource[] | undefined = undefined;
471+
let resources: Resource[] | undefined;
472472

473473
if (arg instanceof Uri) {
474474
const resource = this.getSCMResource(arg);
475475
if (resource !== undefined) {
476476
resources = [resource];
477477
}
478478
} else {
479-
let resource: Resource | undefined = undefined;
479+
let resource: Resource | undefined;
480480

481481
if (arg instanceof Resource) {
482482
resource = arg;

0 commit comments

Comments
 (0)