Skip to content

Commit 63cd678

Browse files
committed
fix(tool): Lines like **Breaking change** are now ignored by the script
Signed-off-by: Lorenzo Croce <[email protected]>
1 parent 9731cd6 commit 63cd678

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

script/tool/lib/src/version_check_command.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ class VersionCheckCommand extends PackageLoopingCommand {
131131
}
132132

133133
static final RegExp _blankLineInListRegex = RegExp(
134-
r'(^[ \t]*[*+-].*$\n)((^[ \t]*$\n)+)(^[ \t]*[*+-].*$)',
134+
r'(^[ \t]*[*+-]\s.*$\n)((^[ \t]*$\n)+)(^[ \t]*[*+-]\s.*$)',
135135
multiLine: true);
136136

137137
static const String _againstPubFlag = 'against-pub';

0 commit comments

Comments
 (0)