From 1759c7efdc33ff7a0c93f0187f395a62fc0374b2 Mon Sep 17 00:00:00 2001 From: Julian Waller Date: Tue, 6 Feb 2024 17:55:35 +0000 Subject: [PATCH] fix --- pi-image/update-prompt/main.js | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/pi-image/update-prompt/main.js b/pi-image/update-prompt/main.js index dac1ca5..ca5202c 100644 --- a/pi-image/update-prompt/main.js +++ b/pi-image/update-prompt/main.js @@ -154,11 +154,7 @@ async function runPrompt() { return runPrompt() } else { fs.writeFileSync('/tmp/satellite-version-selection', answer.url) - try { - fs.unlinkSync('/tmp/satellite-version-selection-name') - } catch (e) { - // Ignore - } + fs.writeFileSync('/tmp/satellite-version-selection-name', '') } } else if (!answer.ref || answer.ref === 'cancel') { console.error('No version was selected!')