Skip to content

Commit

Permalink
Merge pull request openwebwork#2570 from dlglin/dontstripspaces
Browse files Browse the repository at this point in the history
Remove code to strip spaces from pg filenames when imported .def files
  • Loading branch information
somiaj authored Nov 12, 2024
2 parents 22b6dbf + e3b1f1a commit 3c805b3
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion lib/WeBWorK/File/SetDef.pm
Original file line number Diff line number Diff line change
Expand Up @@ -562,7 +562,6 @@ sub readSetDef ($ce, $fileName) {
$problemData->{$item} = $value if defined $value;
} elsif ($item eq 'problem_end') {
# Clean up and validate values
$problemData->{source_file} =~ s/\s*//g;
push(@errors, [ 'No source_file for problem in "[_1]"', $fileName ])
unless $problemData->{source_file};

Expand Down

0 comments on commit 3c805b3

Please sign in to comment.