Continue loop instead of breaking
This commit is contained in:
+1
-1
@@ -87,7 +87,7 @@ function getInstalledResources(type) {
|
|||||||
break;
|
break;
|
||||||
const resourceDir = resourcesDirsEnumerator.get_child(resourceDirInfo);
|
const resourceDir = resourcesDirsEnumerator.get_child(resourceDirInfo);
|
||||||
if (resourceDir === null)
|
if (resourceDir === null)
|
||||||
break;
|
continue;
|
||||||
const resource = new Map([
|
const resource = new Map([
|
||||||
['name', resourceDir.get_basename()],
|
['name', resourceDir.get_basename()],
|
||||||
['path', resourceDir.get_path()],
|
['path', resourceDir.get_path()],
|
||||||
|
|||||||
Reference in New Issue
Block a user