File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -540,9 +540,11 @@ export default class ReleasePromotion extends Session {
540540 const [ commitTitle , ...modifiedFiles ] = releaseCommitOnDefaultBranch . trim ( ) . split ( '\n' ) ;
541541 await this . validateReleaseCommit ( commitTitle ) ;
542542 if ( modifiedFiles . some ( file => ! file . endsWith ( '.md' ) ) ) {
543- cli . warn ( 'Some modified files are not markdown, that\'s unusual.' ) ;
543+ cli . warn (
544+ 'Some modified files are not markdown, that\'s unusual. Consider amending the commit.'
545+ ) ;
544546 cli . info ( `The list of modified files: ${ modifiedFiles . map ( f => `- ${ f } ` ) . join ( '\n' ) } ` ) ;
545- if ( await cli . prompt ( 'Consider amending the commit before continuing. Ready to continue?' , {
547+ if ( await cli . prompt ( 'Ignore and continue anyway ?' , {
546548 defaultAnswer : false
547549 } ) ) {
548550 break ;
You can’t perform that action at this time.
0 commit comments