Merge pull request #8575 from erik-krogh/qlFixTypo

QL: fix Import::getImportString
This commit is contained in:
Erik Krogh Kristensen
2022-03-28 11:41:59 +02:00
committed by GitHub

View File

@@ -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)