Skip to content

Commit

Permalink
bump localdrive and follow external links (#516)
Browse files Browse the repository at this point in the history
  • Loading branch information
rafapaezbas authored Dec 31, 2024
1 parent bdd181a commit b97764c
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 15 deletions.
20 changes: 9 additions & 11 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@
"hyperswarm": "^4.7.14",
"iambus": "^1.0.3",
"listen-async": "^1.0.0",
"localdrive": "^1.11.4",
"localdrive": "^2.0.0",
"localwatch": "^1.4.1",
"mime-db": "^1.53.0",
"mirror-drive": "^1.4.0",
Expand All @@ -106,7 +106,7 @@
"pear-interface": "^1.0.0",
"pear-ipc": "^3.0.0",
"pear-link": "^2.0.1",
"pear-updater": "^3.3.0",
"pear-updater": "^3.4.3",
"pear-updater-bootstrap": "^1.2.0",
"protomux": "^3.6.0",
"pw-to-ek": "^1.0.0",
Expand Down
2 changes: 1 addition & 1 deletion subsystems/sidecar/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -724,7 +724,7 @@ class Sidecar extends ReadyResource {

if (state.key === null) {
LOG.info(LOG_RUN_LINK, id, 'running from disk')
const drive = new LocalDrive(state.dir, { followLinks: true })
const drive = new LocalDrive(state.dir, { followExternalLinks: true })
this.#updatePearInterface(drive)
const appBundle = new Bundle({
drive,
Expand Down
2 changes: 1 addition & 1 deletion subsystems/sidecar/ops/stage.js
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ module.exports = class Stage extends Opstream {
if (dryRun) this.push({ tag: 'dry' })

const root = state.dir
const src = new LocalDrive(root, { followLinks: !isTerminal, metadata: new Map() })
const src = new LocalDrive(root, { followExternalLinks: true, metadata: new Map() })
const dst = bundle.drive
const opts = { ignore, dryRun, batch: true }
const builtins = isTerminal ? sidecar.gunk.bareBuiltins : sidecar.gunk.builtins
Expand Down

0 comments on commit b97764c

Please sign in to comment.