Skip to content

Commit

Permalink
fix(ops/Deploy): don't use absolute path in symlink
Browse files Browse the repository at this point in the history
  • Loading branch information
egasimus committed May 23, 2022
1 parent d5a295c commit 5defc83
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/ops/Deploy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ export class Deployments extends Directory {
}
const active = resolve(this.path, `${this.KEY}.yml`)
try { unlinkSync(active) } catch (e) { console.warn(e.message) }
await symlinkSync(path, active)
await symlinkSync(path, relative(path, active))
}

get active (): Deployment|null {
Expand Down

0 comments on commit 5defc83

Please sign in to comment.