mirror of
https://github.com/smogon/sprites.git
synced 2026-08-22 17:56:00 -05:00
deploy: fix ActionQueue.run()
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user