Skip to content
This repository was archived by the owner on Aug 12, 2020. It is now read-only.

Commit 9e5e90d

Browse files
committed
fix
1 parent c08855c commit 9e5e90d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/exporter.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ function exporter (hash, dagService, options, callback) {
5252
rs.push(unmarshaledData.data)
5353
rs.push(null)
5454
}
55-
ee.emit('file', { stream: rs, path: name })
55+
ee.emit('file', { stream: rs, path: name, dir: dir })
5656
if (callback) {
5757
callback()
5858
}
@@ -87,7 +87,7 @@ function exporter (hash, dagService, options, callback) {
8787
return
8888
})
8989
}
90-
ee.emit('file', { stream: rs, path: name })
90+
ee.emit('file', { stream: rs, path: name, dir: dir })
9191
}
9292
}
9393

0 commit comments

Comments
 (0)