Skip to content

Commit

Permalink
Update run_command.js
Browse files Browse the repository at this point in the history
adding attest to the allowable topics
  • Loading branch information
wdower authored Aug 22, 2024
1 parent 743b5ff commit 8e5fab3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion run_command.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ async function runCommand({overrideCommand, safCLIPath}) {

const saf_command = parse(command_string);

const allowable_topics = ['convert', 'generate', 'harden', 'scan', 'validate', 'view'];
const allowable_topics = ['attest', 'convert', 'generate', 'harden', 'scan', 'validate', 'view'];
const topic = saf_command[0].includes(':') ? saf_command[0].split(':')[0] : saf_command[0];

if (!allowable_topics.includes(topic)) {
Expand Down

0 comments on commit 8e5fab3

Please sign in to comment.