mirror of
https://github.com/balena-io/etcher.git
synced 2025-04-29 01:37:18 +00:00
fix(image-writer): Fix missing error argv
This fixes a missing error argument being passed in .emit() Change-Type: patch
This commit is contained in:
parent
1536e62734
commit
cb25db2556
@ -273,7 +273,7 @@ class ImageWriter extends EventEmitter {
|
|||||||
|
|
||||||
runSeries(tasks, (error) => {
|
runSeries(tasks, (error) => {
|
||||||
if (error) {
|
if (error) {
|
||||||
this.emit('error')
|
this.emit('error', error)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user