@@ -48,15 +48,13 @@ export class Packwerk {
4848 let relativeFileName = fileName . replace ( currentPath + '/' , '' ) ;
4949
5050 let onDidExec = ( error : Error , stdout : string , stderr : string ) => {
51- // TODO: likely redundant debug logging; consider removing
5251 // eslint-disable-next-line no-console
5352 console . debug ( '[DEBUG] Finished running command, in onDidExec' ) ;
5453 // eslint-disable-next-line no-console
5554 console . debug ( '[DEBUG] Error, stderr' , error , stderr ) ;
5655 this . reportError ( error , stderr ) ;
5756 let packwerk = this . parse ( stdout ) ;
5857 if ( packwerk === undefined || packwerk === null ) {
59- // TODO: likely redundant debug logging; consider removing
6058 // eslint-disable-next-line no-console
6159 console . debug ( '[DEBUG] packwerk is undefined or null, returning from onDidExec' ) ;
6260 return ;
@@ -81,7 +79,6 @@ export class Packwerk {
8179 / [ \u001b \u009b ] [ [ ( ) # ; ? ] * (?: [ 0 - 9 ] { 1 , 4 } (?: ; [ 0 - 9 ] { 0 , 4 } ) * ) ? [ 0 - 9 A - O R Z c f - n q r y = > < ] / g, '' ) ;
8280
8381 const message = decolorizedMessage ;
84- // TODO: likely redundant debug logging; consider removing
8582 // eslint-disable-next-line no-console
8683 console . debug ( '[DEBUG] Adding vscode.Diagnostic:' , { range, message } ) ;
8784 const diagnostic = new vscode . Diagnostic (
@@ -138,7 +135,6 @@ export class Packwerk {
138135 cb : ( err : Error , stdout : string , stderr : string ) => void
139136 ) : cp . ChildProcess {
140137 let command = `${ this . config . executable } ${ fileName } ` ;
141- // TODO: likely redundant debug logging; consider removing
142138 // eslint-disable-next-line no-console
143139 console . debug ( `[DEBUG] Running command ${ command } ` ) ;
144140
@@ -151,7 +147,6 @@ export class Packwerk {
151147 private parse ( output : string ) : PackwerkOutput | null {
152148 let packwerk : PackwerkOutput ;
153149 if ( output . length < 1 ) {
154- // TODO: likely redundant debug logging; consider removing
155150 // eslint-disable-next-line no-console
156151 console . debug ( `[DEBUG] Output is ${ output } ` ) ;
157152 let message = `command ${ this . config . executable } returns empty output! please check configuration.` ;
0 commit comments