We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8ddcb75 commit 67f5a94Copy full SHA for 67f5a94
Changes
@@ -4,6 +4,9 @@
4
2.24.x. See notes in 0.75 for why we stopped passing `--quiet` in the first
5
place.
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
+
10
11
0.78 2020-04-25
12
bin/tidyall
@@ -3,6 +3,7 @@ use Capture::Tiny qw(capture_merged);
3
use Code::TidyAll;
use Config;
use Path::Tiny qw(cwd path);
+use Module::Runtime qw( use_module );
use Getopt::Long;
use strict;
use warnings;
@@ -118,6 +119,8 @@ $params{iterations} = $iterations if $iterations;
118
119
120
my $tidyall_class = $params{tidyall_class} || 'Code::TidyAll';
121
122
+use_module($tidyall_class);
123
124
my ( $ct, @paths );
125
126
if ($pipe) {
0 commit comments