mirror of
https://github.com/github/codeql.git
synced 2026-04-30 03:05:15 +02:00
QL code and tests for C#/C++/JavaScript.
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
function error(msg) {
|
||||
console.log(msg);
|
||||
}
|
||||
|
||||
function processResponse(response) {
|
||||
if (response.status === 200) {
|
||||
var err = processResponseText(response.responseText);
|
||||
if (err)
|
||||
throw err;
|
||||
} else {
|
||||
error("Unexpected response status " + response.status);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user