From 1ac6bf5be56cf32d9850bf69469e017e00b9d6ea Mon Sep 17 00:00:00 2001 From: Aaron Crosman Date: Thu, 13 Jan 2022 00:23:52 -0500 Subject: [PATCH] Reset schema on describe processing --- src/sf_calls.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/sf_calls.js b/src/sf_calls.js index 72b4758..3d48fb9 100644 --- a/src/sf_calls.js +++ b/src/sf_calls.js @@ -724,6 +724,9 @@ const handlers = { let completedObjects = 0; const allObjects = {}; + // Reset the proposed schema back to baseline. + proposedSchema = {}; + // Log status logMessage('Schema', 'Info', `Fetching schema for ${args.objects.length} objects`); mainWindow.webContents.send('update_loader', { message: `Loaded ${completedObjects} of ${args.objects.length} Object Describes` });