File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -108,7 +108,7 @@ export class ExtractorMessage {
108108 * src/folder/File.ts:123:4 - (ae-extra-release-tag) The doc comment should not contain more than one release tag.
109109 * ```
110110 */
111- public formatMessageAndLocation ( workingPackageFolderPath : string ) : string {
111+ public formatMessageWithLocation ( workingPackageFolderPath : string ) : string {
112112 let result : string = '' ;
113113
114114 if ( this . sourceFilePath ) {
Original file line number Diff line number Diff line change @@ -322,10 +322,10 @@ export class MessageRouter {
322322 const reportingRule : IReportingRule = this . _getRuleForMessage ( message ) ;
323323 switch ( reportingRule . logLevel ) {
324324 case ExtractorMessageLogLevel . Error :
325- logger . logError ( 'Error: ' + message . formatMessageAndLocation ( workingPackageFolderPath ) ) ;
325+ logger . logError ( 'Error: ' + message . formatMessageWithLocation ( workingPackageFolderPath ) ) ;
326326 break ;
327327 case ExtractorMessageLogLevel . Warning :
328- logger . logWarning ( 'Warning: ' + message . formatMessageAndLocation ( workingPackageFolderPath ) ) ;
328+ logger . logWarning ( 'Warning: ' + message . formatMessageWithLocation ( workingPackageFolderPath ) ) ;
329329 break ;
330330 }
331331 }
Original file line number Diff line number Diff line change @@ -81,7 +81,7 @@ export class ReviewFileGenerator {
8181 ReviewFileGenerator . _writeLineAsComments ( output , 'Warnings were encountered during analysis:' ) ;
8282 ReviewFileGenerator . _writeLineAsComments ( output , '' ) ;
8383 for ( const unassociatedMessage of unassociatedMessages ) {
84- ReviewFileGenerator . _writeLineAsComments ( output , unassociatedMessage . formatMessageAndLocation (
84+ ReviewFileGenerator . _writeLineAsComments ( output , unassociatedMessage . formatMessageWithLocation (
8585 collector . workingPackage . packageFolder
8686 ) ) ;
8787 }
You can’t perform that action at this time.
0 commit comments