mirror of
https://github.com/balena-io/balena-cli.git
synced 2025-06-22 09:48:27 +00:00
Fix invoking undefined method
Have no idea how this used to work.
This commit is contained in:
committed by
Cameron Diver
parent
7fd31b6a64
commit
96116aeaec
@ -150,7 +150,7 @@ exports.tarDirectory = tarDirectory = (dir) ->
|
||||
relPath = path.relative(path.resolve(dir), file)
|
||||
Promise.join relPath, fs.stat(file), fs.readFile(file),
|
||||
(filename, stats, data) ->
|
||||
pack.entryAsync({ name: toPosixPath(filename), size: stats.size, mode: stats.mode }, data)
|
||||
pack.entry({ name: filename, size: stats.size, mode: stats.mode }, data)
|
||||
.then ->
|
||||
pack.finalize()
|
||||
return pack
|
||||
|
Reference in New Issue
Block a user