Skip to content

Commit be13fe5

Browse files
committed
Fix tslint errors
1 parent 8d21075 commit be13fe5

File tree

4 files changed

+5
-7
lines changed

4 files changed

+5
-7
lines changed

build/verify-tools.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,9 @@ async function downloadFileAndCreateSha256(targetFolder: string, fileName: strin
2828
await mkdirp.sync(targetFolder);
2929
}
3030
const currentFile = path.join(targetFolder, fileName);
31-
console.log(`${currentFile} download started from ${reqURL}`)
31+
console.log(`${currentFile} download started from ${reqURL}`);
3232
await DownloadUtil.downloadFile(reqURL, currentFile, (current) => console.log(current + '%'));
33-
const currentSHA256 = await hasha.fromFile(currentFile, {algorithm: 'sha256'});;
33+
const currentSHA256 = await hasha.fromFile(currentFile, {algorithm: 'sha256'});
3434
if (currentSHA256 === sha256sum) {
3535
console.log( `[INFO] ${currentFile} is downloaded and sha256 is correct`);
3636
} else {
@@ -46,9 +46,9 @@ cp.exec('git diff --name-only master..HEAD', async (error, stdout, stderr) => {
4646
console.log('The changed files:');
4747
console.log(stdout);
4848
if (fileCheckRegex.test(stdout)) {
49-
console.log('tools.json is changed, starting download verification')
49+
console.log('tools.json is changed, starting download verification');
5050
await verifyTools();
5151
} else {
52-
console.log('tools.json is not changed, skipping download verification')
52+
console.log('tools.json is not changed, skipping download verification');
5353
}
5454
});

src/openshift/cluster.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ import open = require("open");
1111
import { TokenStore } from "../util/credentialManager";
1212
import { KubeConfigUtils } from '../util/kubeUtils';
1313

14-
1514
class CreateUrlItem implements QuickPickItem {
1615

1716
constructor() { }

src/util/kubeUtils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ export class KubeConfigUtils extends KubeConfig {
77
constructor() {
88
super();
99
this.loadFromDefault();
10-
};
10+
}
1111

1212
async getServers(): Promise<QuickPickItem[]> {
1313
const currentCluster = this.getCurrentCluster();

test/openshift/component.test.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ import * as Util from '../../src/util/async';
1717
import { Refs } from '../../src/util/refs';
1818
import { OpenShiftItem } from '../../src/openshift/openshiftItem';
1919
import pq = require('proxyquire');
20-
import { contextGlobalState } from '../../src/extension';
2120

2221
const expect = chai.expect;
2322
chai.use(sinonChai);

0 commit comments

Comments
 (0)