File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -68,7 +68,7 @@ function updateTransformREADME(transformName) {
6868 let transformREADMEPath = `transforms/${ transformName } /README.md` ;
6969
7070 let FIXTURES_TOC_PLACE_HOLDER = / < ! - - F I X T U R E S _ T O C _ S T A R T - - > [ \s \S ] * < ! - - F I X T U R E S _ T O C _ E N D - - > / ;
71- let FIXTURES_CONTENT_PLACE_HOLDER = / < ! - - F I X T U R E S _ C O N T E N T _ S T A R T - - > [ \s \S ] * < ! - - F I X T U R E S _ C O N T E N T _ E N D - - > / ;
71+ let FIXTURES_CONTENT_PLACE_HOLDER = / < ! - - F I X T U R E S _ C O N T E N T _ S T A R T - - > [ \s \S ] * < ! - - F I X T U R E [ S ] ? _ C O N T E N T _ E N D - - > / ;
7272
7373 fs . writeFileSync (
7474 transformREADMEPath ,
@@ -80,7 +80,7 @@ function updateTransformREADME(transformName) {
8080 )
8181 . replace (
8282 FIXTURES_CONTENT_PLACE_HOLDER ,
83- `<!--FIXTURES_CONTENT_START-->\n${ details . join ( '\n' ) } \n<!--FIXTURE_CONTENT_END -->`
83+ `<!--FIXTURES_CONTENT_START-->\n${ details . join ( '\n' ) } \n<!--FIXTURES_CONTENT_END -->`
8484 )
8585 ) ;
8686}
You can’t perform that action at this time.
0 commit comments