Skip to content
Merged
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions lib/promote_release.js
Original file line number Diff line number Diff line change
Expand Up @@ -540,9 +540,9 @@
const [commitTitle, ...modifiedFiles] = releaseCommitOnDefaultBranch.trim().split('\n');
await this.validateReleaseCommit(commitTitle);
if (modifiedFiles.some(file => !file.endsWith('.md'))) {
cli.warn('Some modified files are not markdown, that\'s unusual.');
cli.warn('Some modified files are not markdown, that\'s unusual. Consider amending the commit.');

Check failure on line 543 in lib/promote_release.js

View workflow job for this annotation

GitHub Actions / Lint using ESLint

This line has a length of 105. Maximum allowed is 100
Comment thread
aduh95 marked this conversation as resolved.
Outdated
cli.info(`The list of modified files: ${modifiedFiles.map(f => `- ${f}`).join('\n')}`);
if (await cli.prompt('Consider amending the commit before continuing. Ready to continue?', {
if (await cli.prompt('Ignore and continue anyway?', {
defaultAnswer: false
})) {
break;
Expand Down
Loading