fix: clear previous error when installing extension

Title says it all, clear the previous error. Matches code already in the other extension path.

Fixes #2463.

Signed-off-by: Tim deBoer <git@tdeboer.ca>
This commit is contained in:
Tim deBoer 2023-05-11 12:29:48 -04:00
parent d140776e6d
commit 9142c997ce

View file

@ -14,6 +14,7 @@ let logs: string[] = [];
let logElement;
async function installDDExtensionFromImage() {
errorInstall = '';
logs.length = 0;
installInProgress = true;