File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
pkg/dds/lib/src/dap/adapters Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -151,7 +151,7 @@ vars = {
151151 "intl_rev" : "5d65e3808ce40e6282e40881492607df4e35669f" ,
152152 "json_rpc_2_rev" : "509f71eef90ec5afb5486b69dab7fed97b9f1eef" ,
153153 "leak_tracker_rev" : "098bafcf99a5220e3c352d895d991e163568ee03" , # b/292240713
154- "linter_rev" : "9a4bc7910d1ea2660deadae4c212776e9cf6212e " , # disable rev_sdk_deps.dart
154+ "linter_rev" : "7f40f112f54124e8dbfdc1e5da048643ae019b9e " , # disable rev_sdk_deps.dart
155155 "lints_rev" : "54cd7a033881ccfd9ec66133bf9a4f128870cb9e" ,
156156 "logging_rev" : "521498757ed3eeae151c2d4796404e8947baa04c" ,
157157 "markdown_rev" : "faabb1ab9adc076a2df2349a0c8b939c92f70ca7" ,
Original file line number Diff line number Diff line change @@ -1096,7 +1096,7 @@ abstract class DartDebugAdapter<TL extends LaunchRequestArguments,
10961096 /// If no message could be extracted, returns the whole original error.
10971097 String extractEvaluationErrorMessage (String rawError) {
10981098 final match = _evalErrorMessagePattern.firstMatch (rawError);
1099- final shortError = match != null ? match .group (1 )! : null ;
1099+ final shortError = match? .group (1 );
11001100 return shortError ?? rawError;
11011101 }
11021102
@@ -1105,7 +1105,7 @@ abstract class DartDebugAdapter<TL extends LaunchRequestArguments,
11051105 /// If no message could be extracted, returns the whole original error.
11061106 String extractUnhandledExceptionMessage (String rawError) {
11071107 final match = _exceptionMessagePattern.firstMatch (rawError);
1108- final shortError = match != null ? match .group (1 )! : null ;
1108+ final shortError = match? .group (1 );
11091109 return shortError ?? rawError;
11101110 }
11111111
You can’t perform that action at this time.
0 commit comments