Skip to content

Commit

Permalink
update version and improve identation
Browse files Browse the repository at this point in the history
  • Loading branch information
htrgouvea committed Aug 23, 2024
1 parent 181b282 commit b46893c
Showing 1 changed file with 16 additions and 17 deletions.
33 changes: 16 additions & 17 deletions lib/SecurityGate/Utils/Helper.pm
Original file line number Diff line number Diff line change
Expand Up @@ -3,23 +3,22 @@ package SecurityGate::Utils::Helper {
use warnings;

sub new {
return "
\r\tSecurity Gate v0.0.3
\r\tCore Commands
\r\t==============
\r\tCommand Description
\r\t------- -----------
\r\t-t, --token GitHub token
\r\t-r, --repo GitHub repository
\r\t-c, --critical Critical severity limit
\r\t-h, --high High severity limit
\r\t-m, --medium Medium severity limit
\r\t-l, --low Low severity limit
\r\t--dependency-alerts Check for dependency alerts
\r\t--secret-scanning-alerts Check for secret scanning alerts
\r\t--code-scanning-alerts Check for code scanning alerts
\n\n";
return "

Check failure on line 6 in lib/SecurityGate/Utils/Helper.pm

View workflow job for this annotation

GitHub Actions / critic

Literal line breaks in a string at line 6, column 15. See pages 60,61 of PBP.
\rSecurity Gate v0.1.0
\rCore Commands
\r====================
\r\tCommand Description
\r\t------- -----------
\r\t-t, --token GitHub token
\r\t-r, --repo GitHub repository
\r\t-c, --critical Critical severity limit
\r\t-h, --high High severity limit
\r\t-m, --medium Medium severity limit
\r\t-l, --low Low severity limit
\r\t--dependency-alerts Check for dependency alerts
\r\t--secret-alerts Check for secret scanning alerts
\r\t--code-alerts Check for code scanning alerts\n\n";
}
}

1;
1;

0 comments on commit b46893c

Please sign in to comment.