mirror of
https://github.com/balena-io/balena-cli.git
synced 2025-02-20 17:33:18 +00:00
Follow links found during builds
Change-Type: patch
This commit is contained in:
parent
bd00773f1b
commit
e350f9b335
@ -110,7 +110,7 @@ exports.tarDirectory = tarDirectory = (dir) ->
|
||||
streamToPromise = require('stream-to-promise')
|
||||
|
||||
getFiles = ->
|
||||
streamToPromise(klaw(dir))
|
||||
streamToPromise(klaw(dir, { followLinks: true }))
|
||||
.filter((item) -> not item.stats.isDirectory())
|
||||
.map((item) -> item.path)
|
||||
|
||||
|
@ -121,7 +121,7 @@
|
||||
"inquirer": "^3.1.1",
|
||||
"is-root": "^1.0.0",
|
||||
"js-yaml": "^3.10.0",
|
||||
"klaw": "^1.3.1",
|
||||
"klaw": "github:resin-io-modules/node-klaw#follow-symlinks",
|
||||
"lodash": "^4.17.4",
|
||||
"mixpanel": "^0.4.0",
|
||||
"mkdirp": "^0.5.1",
|
||||
@ -142,7 +142,6 @@
|
||||
"resin-config-json": "^1.0.0",
|
||||
"resin-device-config": "^4.0.0",
|
||||
"resin-device-init": "^4.0.0",
|
||||
"resin-docker-build": "^0.6.2",
|
||||
"resin-doodles": "0.0.1",
|
||||
"resin-image-fs": "^5.0.2",
|
||||
"resin-image-manager": "^5.0.0",
|
||||
|
Loading…
x
Reference in New Issue
Block a user