This repository was archived by the owner on Jul 16, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 10 files changed +17
-10
lines changed Expand file tree Collapse file tree 10 files changed +17
-10
lines changed Original file line number Diff line number Diff line change 77 " bools" ,
88 " codeclimate" ,
99 " codecov" ,
10+ " codequality" ,
1011 " cyclomatic" ,
1112 " dartanalyzer" ,
1213 " dartdocs" ,
Original file line number Diff line number Diff line change 11# Changelog
22
3+ ## 4.10.1
4+
5+ * fix: restore ` analyze ` command as default command.
6+
37## 4.10.0
48
59* feat: add ` check-unused-code ` command with monorepos support.
Original file line number Diff line number Diff line change @@ -89,7 +89,7 @@ To set this up:
8989 ```yaml
9090 name: dart_code_metrics_plugin_loader
9191 description: This pubspec determines the version of the analyzer plugin to load.
92- version: 4.10.0
92+ version: 4.10.1
9393
9494 environment:
9595 sdk: ">=2.14.0 <3.0.0"
Original file line number Diff line number Diff line change @@ -59,7 +59,7 @@ add it manually to `pubspec.yaml`
5959
6060``` yaml
6161dev_dependencies :
62- dart_code_metrics : ^4.10.0
62+ dart_code_metrics : ^4.10.1
6363` ` `
6464
6565and then run
Original file line number Diff line number Diff line change @@ -38,7 +38,9 @@ class CliRunner extends CommandRunner<void> {
3838 @override
3939 Future <void > run (Iterable <String > args) async {
4040 try {
41- final results = parse (args);
41+ final argsWithDefaultCommand = _addDefaultCommand (args);
42+
43+ final results = parse (argsWithDefaultCommand);
4244 final showVersion = results[FlagNames .version] as bool ;
4345
4446 if (showVersion) {
@@ -47,7 +49,7 @@ class CliRunner extends CommandRunner<void> {
4749 return ;
4850 }
4951
50- await super .run (_addDefaultCommand (args) );
52+ await super .run (argsWithDefaultCommand );
5153 } on UsageException catch (e) {
5254 _output
5355 ..writeln (e.message)
Original file line number Diff line number Diff line change 1- const packageVersion = '4.10.0 ' ;
1+ const packageVersion = '4.10.1 ' ;
Original file line number Diff line number Diff line change 11name : dart_code_metrics
2- version : 4.10.0
2+ version : 4.10.1
33description : Software analytics tool that helps developers analyse and improve software quality.
44homepage : https://dartcodemetrics.dev
55repository : https://github.com/dart-code-checker/dart-code-metrics
Original file line number Diff line number Diff line change 11name : dart_code_metrics_plugin_loader
22description : This pubspec determines the version of the analyzer plugin to load.
3- version : 4.10.0
3+ version : 4.10.1
44
55environment :
66 sdk : " >=2.14.0 <3.0.0"
77
88dependencies :
9- dart_code_metrics : ^4.10.0
9+ dart_code_metrics : ^4.10.1
1010
1111dev_dependencies :
1212 lints : ^1.0.1
Original file line number Diff line number Diff line change @@ -374,7 +374,7 @@ code_quality:
374374 before_script:
375375 - dart pub global activate dart_code_metrics
376376 script:
377- - dart pub global run dart_code_metrics:metrics lib -r gitlab > code-quality-report.json
377+ - dart pub global run dart_code_metrics:metrics analyze lib -r gitlab > code-quality-report.json
378378 artifacts:
379379 reports:
380380 codequality: code-quality-report.json
Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ environment:
2323 sdk : ' >=2.12.0 <3.0.0'
2424
2525dev_dependencies :
26- dart_code_metrics : ^4.10.0
26+ dart_code_metrics : ^4.10.1
2727` ` `
2828
2929and then run
You can’t perform that action at this time.
0 commit comments