Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ignore false postive avoid_returning_this lint #3408

Merged
merged 1 commit into from Nov 17, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 2 additions & 0 deletions build/CHANGELOG.md
@@ -1,3 +1,5 @@
## 2.3.2-dev

## 2.3.1

- Allow the latest `package:analyzer`.
Expand Down
1 change: 1 addition & 0 deletions build/lib/src/builder/builder.dart
Expand Up @@ -54,6 +54,7 @@ class BuilderOptions {
///
/// The `isRoot` value will also be overridden to value from [other].
BuilderOptions overrideWith(BuilderOptions? other) {
// ignore: avoid_returning_this
if (other == null) return this;
return BuilderOptions(
{}
Expand Down
2 changes: 1 addition & 1 deletion build/pubspec.yaml
@@ -1,5 +1,5 @@
name: build
version: 2.3.1
version: 2.3.2-dev
description: A package for authoring build_runner compatible code generators.
repository: https://github.com/dart-lang/build/tree/master/build

Expand Down