Codebase list libcode-tidyall-perl / 67f5a94
Fix bug where the user-provided tidyall class was not loaded This fixes issue #43. Shlomi Fish authored 2 years ago Dave Rolsky committed 2 years ago
2 changed file(s) with 6 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
22 - Run `git stash pop` with `--quiet` flag again, as long as Git is not
33 2.24.x. See notes in 0.75 for why we stopped passing `--quiet` in the first
44 place.
5
6 - Fixed a bug where the class in the `--tidyall-class` option was not
7 loaded. Fixed by Shlomi Fish. PR #107. Fixed GH #43.
58
69
710 0.78 2020-04-25
22 use Code::TidyAll;
33 use Config;
44 use Path::Tiny qw(cwd path);
5 use Module::Runtime qw( use_module );
56 use Getopt::Long;
67 use strict;
78 use warnings;
117118
118119 my $tidyall_class = $params{tidyall_class} || 'Code::TidyAll';
119120
121 use_module($tidyall_class);
122
120123 my ( $ct, @paths );
121124
122125 if ($pipe) {