mirror of
https://github.com/github/codeql.git
synced 2026-02-01 15:52:59 +01:00
Merge pull request #8575 from erik-krogh/qlFixTypo
QL: fix Import::getImportString
This commit is contained in:
@@ -1134,7 +1134,7 @@ class Import extends TImport, ModuleMember, ModuleRef {
|
||||
*/
|
||||
string getImportString() {
|
||||
exists(string selec |
|
||||
not exists(getQualifiedName(_)) and selec = ""
|
||||
not exists(getSelectionName(_)) and selec = ""
|
||||
or
|
||||
selec =
|
||||
"::" + strictconcat(int i, string q | q = this.getSelectionName(i) | q, "::" order by i)
|
||||
|
||||
Reference in New Issue
Block a user