Skip to content

Commit 6d4425e

Browse files
committed
The following packages have been updated:
custom_lint : 0.6.3 -> 0.6.4 custom_lint_analyzer_plugin_loader : 0.6.3 -> 0.6.4 custom_lint_builder : 0.6.3 -> 0.6.4
1 parent 4e1e78c commit 6d4425e

File tree

6 files changed

+19
-6
lines changed

6 files changed

+19
-6
lines changed

packages/custom_lint/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 0.6.4 - 2024-03-16
2+
3+
- Improve error message to attempt debugging a certain bug
4+
15
## 0.6.3 - 2024-03-16
26

37
- Fixed Unimplemented error when running `pub get`.

packages/custom_lint/lib/src/v2/server_to_client_channel.dart

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,12 @@ void main(List<String> args) async {
248248
Future<CustomLintResponse> sendCustomLintRequest(
249249
CustomLintRequest request,
250250
) async {
251-
final matchingResponse = _responses.firstWhere((e) => e.id == request.id);
251+
final matchingResponse = _responses.firstWhere(
252+
(e) => e.id == request.id,
253+
orElse: () => throw StateError(
254+
'No response for request $request',
255+
),
256+
);
252257

253258
await _channel.sendJson(request.toJson());
254259

packages/custom_lint/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: custom_lint
2-
version: 0.6.3
2+
version: 0.6.4
33
description: Lint rules are a powerful way to improve the maintainability of a project. Custom Lint allows package authors and developers to easily write custom lint rules.
44
repository: https://github.com/invertase/dart_custom_lint
55
issue_tracker: https://github.com/invertase/dart_custom_lint/issues

packages/custom_lint/tools/analyzer_plugin/pubspec.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
name: custom_lint_analyzer_plugin_loader
22
description: This pubspec determines the version of the analyzer plugin to load.
3-
version: 0.6.3
3+
version: 0.6.4
44
publish_to: none
55

66
environment:
77
sdk: ">=3.0.0 <4.0.0"
88

99
dependencies:
10-
custom_lint: 0.6.3
10+
custom_lint: 0.6.4
1111
# TODO: If you want to contribute to custom_lint, add a pubspec_overrides.yaml file
1212
# in this folder, containing the following:
1313
# dependency_overrides:

packages/custom_lint_builder/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 0.6.4 - 2024-03-16
2+
3+
- `custom_lint` upgraded to `0.6.4`
4+
15
## 0.6.3 - 2024-03-16
26

37
- `custom_lint` upgraded to `0.6.3`

packages/custom_lint_builder/pubspec.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: custom_lint_builder
2-
version: 0.6.3
2+
version: 0.6.4
33
description: A package to help writing custom linters
44
repository: https://github.com/invertase/dart_custom_lint
55

@@ -12,7 +12,7 @@ dependencies:
1212
collection: ^1.16.0
1313
# Using tight constraints as custom_lint_builder communicate with each-other
1414
# using a specific contract
15-
custom_lint: 0.6.3
15+
custom_lint: 0.6.4
1616
# Using tight constraints as custom_lint_builder communicate with each-other
1717
# using a specific contract
1818
custom_lint_core: 0.6.3

0 commit comments

Comments
 (0)