Skip to content

Commit

Permalink
fix: Change regExp variable to final in Version model
Browse files Browse the repository at this point in the history
  • Loading branch information
blendthink committed Jan 9, 2025
1 parent c288ab6 commit fabbf75
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/yumemi_lints/lib/src/models/version.dart
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ class Version implements Comparable<Version> {
throw MinimumVersionMissingException(text);
}

RegExp regExp;
final RegExp regExp;
if (text.contains('>=')) {
regExp = RegExp(r'>=\s*(\d+)\.(\d+)');
} else {
Expand Down

0 comments on commit fabbf75

Please sign in to comment.