Skip to content
Snippets Groups Projects
Commit e51d34ab authored by Tifenn Guillas's avatar Tifenn Guillas
Browse files

Fix sonarqube issues

parent d04d8568
No related branches found
No related tags found
2 merge requests!29Develop,!8Resolve "Add tests for instance store module"
......@@ -36,7 +36,6 @@ export class ConeSearchEffects {
const parser = new DOMParser();
const xml = parser.parseFromString(response,'text/xml');
if (xml.getElementsByTagName('Resolver').length === 0) {
const name = xml.getElementsByTagName('name')[0].childNodes[0].nodeValue;
return coneSearchActions.retrieveCoordinatesFail();
}
const name = xml.getElementsByTagName('name')[0].childNodes[0].nodeValue;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment