File tree Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Original file line number Diff line number Diff line change 4
4
2.24.x. See notes in 0.75 for why we stopped passing `--quiet` in the first
5
5
place.
6
6
7
+ - Fixed a bug where the class in the `--tidyall-class` option was not
8
+ loaded. Fixed by Shlomi Fish. PR #107. Fixed GH #43.
9
+
7
10
8
11
0.78 2020-04-25
9
12
Original file line number Diff line number Diff line change @@ -3,6 +3,7 @@ use Capture::Tiny qw(capture_merged);
3
3
use Code::TidyAll;
4
4
use Config;
5
5
use Path::Tiny qw( cwd path) ;
6
+ use Module::Runtime qw( use_module ) ;
6
7
use Getopt::Long;
7
8
use strict;
8
9
use warnings;
@@ -118,6 +119,8 @@ $params{iterations} = $iterations if $iterations;
118
119
119
120
my $tidyall_class = $params {tidyall_class } || ' Code::TidyAll' ;
120
121
122
+ use_module($tidyall_class );
123
+
121
124
my ( $ct , @paths );
122
125
123
126
if ($pipe ) {
You can’t perform that action at this time.
0 commit comments