Skip to content

Commit

Permalink
rename SARIF to Sarif
Browse files Browse the repository at this point in the history
  • Loading branch information
htrgouvea committed Nov 20, 2023
1 parent 42fb65c commit ed2d969
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lib/Zarn/Sarif.pm
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package Zarn::SARIF {
package Zarn::Sarif {
use strict;
use warnings;

Expand Down
4 changes: 2 additions & 2 deletions zarn.pl
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
use Zarn::AST;
use Zarn::Files;
use Zarn::Rules;
use Zarn::SARIF;
use Zarn::Sarif;
use JSON;

sub main {
Expand Down Expand Up @@ -64,7 +64,7 @@ sub main {
}

if ($sarif) {
my $sarif_data = Zarn::SARIF -> new (@results);
my $sarif_data = Zarn::Sarif -> new (@results);

open(my $output, '>', $sarif) or die "Cannot open file '$sarif': $!";
print $output encode_json($sarif_data);
Expand Down

0 comments on commit ed2d969

Please sign in to comment.