File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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 } ` ,
You can’t perform that action at this time.
0 commit comments