deploy: fix ActionQueue.run()

This commit is contained in:
Christopher Monsanto
2020-07-30 23:33:09 -04:00
parent e5812e2da0
commit 1032980d1f

View File

@@ -22,7 +22,7 @@ export class ActionQueue {
run(mode : 'link' | 'copy') {
for (const {src, dst} of this.queue) {
fs.mkdirSync(src.dir, {recursive: true});
fs.mkdirSync(dst.dir, {recursive: true});
if (mode === 'link') {
fs.linkSync(pathlib.format(src), pathlib.format(dst));
} else {