mirror of
https://github.com/github/codeql.git
synced 2026-05-04 05:05:12 +02:00
JS: Accept Sources/Sink tags
This commit is contained in:
@@ -3,14 +3,14 @@ const app = express();
|
||||
const { execFile } = require("child_process");
|
||||
|
||||
app.get("/", (req, res) => {
|
||||
const remote = req.query.remote;
|
||||
const remote = req.query.remote; // $ Source
|
||||
execFile("git", ["ls-remote", remote]); // $ Alert
|
||||
|
||||
execFile("git", ["fetch", remote]); // $ Alert
|
||||
|
||||
indirect("git", ["ls-remote", remote]); // $ Alert
|
||||
|
||||
const myArgs = req.query.args;
|
||||
const myArgs = req.query.args; // $ Source
|
||||
|
||||
execFile("git", myArgs); // $ Alert
|
||||
|
||||
|
||||
Reference in New Issue
Block a user