Skip to content

Commit 7f872fa

Browse files
authored
fix: removing redundant setSettings call (#152)
1 parent 4d93771 commit 7f872fa

1 file changed

Lines changed: 0 additions & 10 deletions

File tree

gatsby-node.js

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -336,16 +336,6 @@ async function runIndexQueries(
336336
.wait();
337337
}
338338

339-
if (dryRun) {
340-
console.log('[dry run]: settings', settingsToApply);
341-
} else {
342-
await indexToUse
343-
.setSettings(settingsToApply, {
344-
forwardToReplicas,
345-
})
346-
.wait();
347-
}
348-
349339
if (indexToUse === tempIndex && dryRun === false) {
350340
await moveIndex(client, indexToUse, index);
351341
}

0 commit comments

Comments
 (0)