File tree 2 files changed +11623
-25890
lines changed
2 files changed +11623
-25890
lines changed Original file line number Diff line number Diff line change @@ -765,8 +765,29 @@ ${content}`;
765
765
headSHA,
766
766
} ) ;
767
767
768
+ logger . withInfo (
769
+ `Successfully fetched file contents. File size: ${ fileContents . length } bytes` ,
770
+ integrationName ,
771
+ CI_COMMIT_SHA ,
772
+ "getAssetName"
773
+ ) ;
774
+
768
775
if ( fileContents ) {
776
+ logger . withInfo (
777
+ "Starting regex matching" ,
778
+ integrationName ,
779
+ CI_COMMIT_SHA ,
780
+ "getAssetName"
781
+ ) ;
769
782
var matches = regExp . exec ( fileContents ) ;
783
+
784
+ logger . withInfo (
785
+ "Successfully executed regex matching" ,
786
+ integrationName ,
787
+ CI_COMMIT_SHA ,
788
+ "getAssetName"
789
+ ) ;
790
+
770
791
if ( matches ) {
771
792
logger . withInfo (
772
793
`Found a match: ${ matches [ 1 ] . trim ( ) } ` ,
@@ -813,13 +834,6 @@ ${content}`;
813
834
) ;
814
835
const buff = Buffer . from ( content , "base64" ) ;
815
836
816
- logger . withInfo (
817
- "Successfully fetched file contents" ,
818
- integrationName ,
819
- CI_COMMIT_SHA ,
820
- "getFileContents"
821
- ) ;
822
-
823
837
return buff . toString ( "utf8" ) ;
824
838
} catch ( error ) {
825
839
logger . withError (
You can’t perform that action at this time.
0 commit comments