Skip to content

Commit 914629d

Browse files
authored
Merge pull request #40 from keyoke/keyoke/features
fix lint errors
2 parents d9b75bb + 88bd0ca commit 914629d

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

src/import-csv-discussions-action.ts

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,6 @@ class ImportCSVDiscussionsAction implements IContributedMenuSource {
3636
_json2csvParser = new Parser();
3737
_failures: any[] = [];
3838

39-
constructor() {}
40-
4139
public showFileUpload() {
4240
SDK.getService('ms.vss-web.dialog-service').then(
4341
async (dialogService: any) => {
@@ -270,7 +268,7 @@ class ImportCSVDiscussionsAction implements IContributedMenuSource {
270268
accessToken: string,
271269
record: any
272270
): Promise<boolean> {
273-
return new Promise(async (resolve, reject) => {
271+
return new Promise((resolve, reject) => {
274272
const header: Array<string> = [];
275273
const cols: Array<string> = [];
276274

@@ -310,7 +308,7 @@ class ImportCSVDiscussionsAction implements IContributedMenuSource {
310308

311309
this._logger.info(`Adding comment for id '${record.WorkItemId}'`);
312310

313-
const response: Response = await this._fetch(url, {
311+
this._fetch(url, {
314312
method: 'POST',
315313
headers: {
316314
Authorization: `Bearer ${accessToken}`,

0 commit comments

Comments
 (0)