Skip to content

Commit

Permalink
bug fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
seanbudd committed Jun 25, 2024
1 parent 2f1705f commit 2e9a035
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/virusScanAllAddons.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
matrix:
python-version: [ 3.11 ]
permissions:
contents: read
contents: write
env:
VT_API_KEY: ${{ secrets.VT_API_KEY }}
steps:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/virusTotalAnalysis.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ module.exports = ({core}, globPattern) => {
const fs = require('fs');
const { exec } = require('child_process');
var files = glob.globSync(globPattern);
const apiUsageCount = 0;
var apiUsageCount = 0;
files.forEach(file => {
const addonMetadataContents = fs.readFileSync(file);
const addonMetadata = JSON.parse(addonMetadataContents);
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/virusTotalSubmit.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ const glob = require('glob');
module.exports = ({core}, globPattern) => {
const fs = require('fs');
const { exec } = require('child_process');
var files = glob.globSync(globPattern);
const apiUsageCount = 0;
const files = glob.globSync(globPattern);
var apiUsageCount = 0;
files.forEach(file => {
const addonMetadataContents = fs.readFileSync(file);
const addonMetadata = JSON.parse(addonMetadataContents);
Expand Down

0 comments on commit 2e9a035

Please sign in to comment.