mirror of
https://github.com/balena-io/etcher.git
synced 2025-04-22 06:17:20 +00:00

Using `dismiss()` causes the promise to be rejected, with no reason in this case. Given we made sure we were handling errors from dialogs in a previous commit, this issue manifested itself. The `close()` function, without arguments, makes more sense in this case. See: https://github.com/resin-io/etcher/pull/548 Signed-off-by: Juan Cruz Viotti <jviottidc@gmail.com>