Skip to content

Commit

Permalink
fix: Nutripatrol url trailing slash removal regex
Browse files Browse the repository at this point in the history
  • Loading branch information
k127 committed Jan 6, 2025
1 parent 09f5821 commit 13e6d7a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/ProductOpener/ConfigEnv.pm
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,6 @@ BEGIN {
use vars @EXPORT_OK; # no 'my' keyword for these

$nutripatrol_url = $ENV{NUTRIPATROL_URL};
$nutripatrol_url =~ s/\///; # remove trailing slash if there is one
$nutripatrol_url =~ s/\/$//; # remove trailing slash if there is one

1;

0 comments on commit 13e6d7a

Please sign in to comment.