Skip to content

Commit

Permalink
security issue: removed console of
Browse files Browse the repository at this point in the history
  • Loading branch information
bm777 committed Dec 7, 2023
1 parent c58851b commit a2a9534
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/basic-js-python/main/background.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ async function startProcess(event, value) {
} else {
scriptPath = path.join(__dirname, '../scripts/runner.sh');
}
console.log(`DEBUG: scriptPath: ${scriptPath}`)
// console.log(`DEBUG: scriptPath: ${scriptPath}`)

exec(`sh ${scriptPath} ${value}`, (error, stdout, stderr) => {

Check warning

Code scanning / CodeQL

Shell command built from environment values Medium

This shell command depends on an uncontrolled
absolute path
.
This shell command depends on an uncontrolled
absolute path
.
if (error) {
Expand Down

0 comments on commit a2a9534

Please sign in to comment.