Skip to content

Commit

Permalink
fix for loops
Browse files Browse the repository at this point in the history
  • Loading branch information
pgayvallet committed Sep 2, 2020
1 parent fd7f71b commit d80ad52
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ export async function resolveIndexPatternConflicts(

if (!allResolved) {
// The user decided to skip this conflict so do nothing
return;
continue;
}
obj.searchSource = await dependencies.search.searchSource.create(
serializedSearchSourceWithInjectedReferences
Expand Down Expand Up @@ -253,7 +253,7 @@ export async function resolveSavedSearches(
const obj = await getSavedObject(searchDoc, services);
if (!obj) {
// Just ignore?
return;
continue;
}
if (await importDocument(obj, searchDoc, overwriteAll)) {
importCount++;
Expand Down

0 comments on commit d80ad52

Please sign in to comment.