mirror of
https://github.com/github/codeql.git
synced 2026-04-23 07:45:17 +02:00
JS: Migrate a new file from OK-style comments
This commit is contained in:
@@ -2,7 +2,7 @@ import queryString from 'query-string';
|
||||
import querystringify from 'querystringify';
|
||||
|
||||
function foo() {
|
||||
location.href = queryString.parse(location.search).data; // NOT OK
|
||||
location.href = queryString.extract(location.search); // NOT OK
|
||||
location.href = querystringify.parse(location.search).data; // NOT OK
|
||||
location.href = queryString.parse(location.search).data; // $ Alert
|
||||
location.href = queryString.extract(location.search); // $ Alert
|
||||
location.href = querystringify.parse(location.search).data; // $ Alert
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user