Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Julusian committed Feb 6, 2024
1 parent 227d0e1 commit 1759c7e
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions pi-image/update-prompt/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -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!')
Expand Down

0 comments on commit 1759c7e

Please sign in to comment.