Skip to content

Commit

Permalink
Removes linter warnings and fixes CI/CD
Browse files Browse the repository at this point in the history
  • Loading branch information
miguelpruivo committed Mar 20, 2024
1 parent 9e153b0 commit 04e32da
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 3 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
## 8.0.0+1
Removes linter warnings and fixes CI/CD.

## 8.0.0
### Desktop
Removes Flutter GO support.
Expand Down
1 change: 0 additions & 1 deletion analysis_options.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ linter:
- avoid_empty_else
# - avoid_print
- avoid_relative_lib_imports
- avoid_returning_null_for_future
- avoid_slow_async_io
- avoid_type_to_string
- avoid_types_as_parameter_names
Expand Down
2 changes: 1 addition & 1 deletion lib/src/windows/file_picker_windows.dart
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,7 @@ class FilePickerWindows extends FilePicker {
bool lastCharWasNull = false;
// ignore: literal_only_boolean_expressions
while (true) {
final char = openFileNameW.lpstrFile.cast<Uint16>().elementAt(i).value;
final char = openFileNameW.lpstrFile.cast<Uint16>()[i];
final currentCharIsNull = char == 0;
if (currentCharIsNull && lastCharWasNull) {
break;
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ description: A package that allows you to use a native file explorer to pick sin
homepage: https://github.com/miguelpruivo/plugins_flutter_file_picker
repository: https://github.com/miguelpruivo/flutter_file_picker
issue_tracker: https://github.com/miguelpruivo/flutter_file_picker/issues
version: 8.0.0
version: 8.0.0+1

dependencies:
flutter:
Expand Down

0 comments on commit 04e32da

Please sign in to comment.