Skip to content

Commit

Permalink
fix up previous scan check
Browse files Browse the repository at this point in the history
  • Loading branch information
seanbudd committed Aug 13, 2024
1 parent 75fc1a5 commit aa5a7dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/virusTotalSubmit.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ module.exports = ({core}, globPattern) => {
}
apiUsageCount++;
exec(`vt file ${sha256} -k ${process.env.VT_API_KEY} --format json`, (err, stdout, stderr) => {
if (stderr === '' || err === null || addonMetadata.vtScanUrl !== undefined) {
if (stderr !== '' || err !== null) {
// File has been scanned before
return;
}
Expand Down

0 comments on commit aa5a7dd

Please sign in to comment.