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 44 2.24.x. See notes in 0.75 for why we stopped passing `--quiet` in the first
55 place.
66
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+
710
8110.78 2020-04-25
912
Original file line number Diff line number Diff line change @@ -3,6 +3,7 @@ use Capture::Tiny qw(capture_merged);
33use Code::TidyAll;
44use Config;
55use Path::Tiny qw( cwd path) ;
6+ use Module::Runtime qw( use_module ) ;
67use Getopt::Long;
78use strict;
89use warnings;
@@ -118,6 +119,8 @@ $params{iterations} = $iterations if $iterations;
118119
119120my $tidyall_class = $params {tidyall_class } || ' Code::TidyAll' ;
120121
122+ use_module($tidyall_class );
123+
121124my ( $ct , @paths );
122125
123126if ($pipe ) {
You can’t perform that action at this time.
0 commit comments