Skip to content

Commit d483bd2

Browse files
committed
fixed build
1 parent c2ed249 commit d483bd2

5 files changed

+8
-6
lines changed

example/analysis_options.yaml

+1-2
Original file line numberDiff line numberDiff line change
@@ -55,11 +55,10 @@ linter:
5555
- file_names
5656
- hash_and_equals
5757
- implementation_imports
58-
- iterable_contains_unrelated_type
58+
- collection_methods_unrelated_type
5959
- join_return_with_assignment
6060
- library_names
6161
- library_prefixes
62-
- list_remove_unrelated_type
6362
- literal_only_boolean_expressions
6463
- no_adjacent_strings_in_list
6564
- no_duplicate_case_values

pubspec.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ environment:
88

99
dependencies:
1010
args: ^2.4.1
11+
custom_image_crop: ^0.0.10
1112
meta: ^1.9.1
1213
path: ^1.8.3
1314
pub_semver: ^2.1.4

tool/test_coverage_create_helper.dart

+2-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@ import 'dart:io';
33
const packageName = 'custom_image_crop';
44

55
void main() {
6-
Logger.debug('First create a file with all other files imported so flutter test coverage uses all files');
6+
Logger.debug(
7+
'First create a file with all other files imported so flutter test coverage uses all files');
78
final imports = Directory('lib').listSync(recursive: true).where((element) {
89
if (Directory(element.path).existsSync()) return false;
910
if (!element.path.endsWith('.dart')) return false;

tool/test_coverage_filter.dart

+1-1
Original file line numberDiff line numberDiff line change
@@ -120,4 +120,4 @@ const excludedStartsWithLines = <String>[];
120120
void printMessage(String message) {
121121
// ignore: avoid_print
122122
print(message);
123-
}
123+
}

tool/test_coverage_validate_percentage.dart

+3-2
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,8 @@ void main(List<String> args) {
2424
printMessage('\n100% CODE COVERAGE!!!!\n');
2525
} else if (codeCoveragePercentage >= minRequiredCoverage) {
2626
printMessage('COVERAGE IS ${codeCoveragePercentage.toStringAsFixed(2)}%\n');
27-
printMessage('TIS IS ABOVE THE MIN REQUIRED TARGET of $minRequiredCoverage%\n');
27+
printMessage(
28+
'TIS IS ABOVE THE MIN REQUIRED TARGET of $minRequiredCoverage%\n');
2829
} else {
2930
printMessage('\nCODE COVERAGE IS TO LOW!!\n');
3031
printMessage('COVERAGE IS ${codeCoveragePercentage.toStringAsFixed(2)}%\n');
@@ -37,4 +38,4 @@ void main(List<String> args) {
3738
void printMessage(String message) {
3839
// ignore: avoid_print
3940
print(message);
40-
}
41+
}

0 commit comments

Comments
 (0)