Skip to content

Commit

Permalink
change version of perltidy and rerun.
Browse files Browse the repository at this point in the history
  • Loading branch information
pstaabp committed Feb 6, 2024
1 parent 6f138ab commit 4b66a34
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions lib/WeBWorK/ContentGenerator/Hardcopy.pm
Original file line number Diff line number Diff line change
Expand Up @@ -1199,10 +1199,10 @@ async sub write_problem_tex ($c, $FH, $TargetUser, $MergedSet, $themeTree, $prob
problemID => $MergedProblem->problem_id,
),
$MergedProblem->problem_id == 0
# link for a fake problem (like a header file)
# link for a fake problem (like a header file)
? (params =>
{ sourceFilePath => $MergedProblem->source_file, problemSeed => $MergedProblem->problem_seed })
# link for a real problem
# link for a real problem
: (),
);

Expand Down
6 changes: 3 additions & 3 deletions lib/WeBWorK/ContentGenerator/Instructor/Config.pm
Original file line number Diff line number Diff line change
Expand Up @@ -131,9 +131,9 @@ sub getConfigValues ($c, $ce) {
opendir(my $dh2, $localizeDir) || die "can't opendir $localizeDir: $!";
my %seen = (); # find the languages in the localize direction
my $languages = [
grep { !$seen{$_}++ } # remove duplicate items
map { $_ =~ s/\.[pm]o$//r } # get rid of suffix
grep {/\.mo$|\.po$/} sort readdir($dh2) #look at only .mo and .po files
grep { !$seen{$_}++ } # remove duplicate items
map { $_ =~ s/\.[pm]o$//r } # get rid of suffix
grep {/\.mo$|\.po$/} sort readdir($dh2) #look at only .mo and .po files

];

Expand Down

0 comments on commit 4b66a34

Please sign in to comment.