Skip to content

Commit 1cf51a6

Browse files
committed
Remove UnimplementedError
1 parent 8ff3a34 commit 1cf51a6

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
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+
## Unreleased patch
2+
3+
- Fixed Unimplemented error when running `pub get`.
4+
15
## 0.6.2 - 2024-02-19
26

37
- `custom_lint --format json` no-longer outputs non-JSON logs (thanks to @kzrnm)

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

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -142,10 +142,9 @@ class SocketCustomLintServerToClientChannel {
142142
/// Updates the context roots on the client
143143
Future<AnalysisSetContextRootsResult> setContextRoots(
144144
AnalysisSetContextRootsParams contextRoots,
145-
) {
145+
) async {
146146
_contextRoots = contextRoots;
147-
// TODO: implement setContextRoots
148-
throw UnimplementedError();
147+
return AnalysisSetContextRootsResult();
149148
}
150149

151150
/// Encapsulates all the logic for initializing the process,

0 commit comments

Comments
 (0)