Skip to content

Commit

Permalink
fix: broken convert_gs1_xml_to_json_in_dir.pl (#9280)
Browse files Browse the repository at this point in the history
  • Loading branch information
stephanegigandet authored Nov 10, 2023
1 parent 323bd92 commit 2761f09
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/convert_gs1_xml_to_json_in_dir.pl
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
use utf8;
use warnings;

use JSON;
use ProductOpener::GS1 qw/:all/;

my $dir = $ARGV[0];

Expand All @@ -41,5 +41,5 @@
next if $file !~ /\.xml$/;
$file = $`; # remove xml extension

convert_gs1_xml_file_to_json("dir/$file.xml", "dir/$file.json");
convert_gs1_xml_file_to_json("$dir/$file.xml", "$dir/$file.json");
}

0 comments on commit 2761f09

Please sign in to comment.