mirror of
https://github.com/vector-im/element-web.git
synced 2025-08-18 21:11:25 +02:00
This should (hopefully) resolve occasional errors where the rename step would fail because the temporary file did not exist. In addition, this also exits with an error code if something goes wrong so we notice it early, rather than having to scroll through pages of logs at release time.