Skip to content

Commit

Permalink
fixup! fixup! feat(scripts): add file rename while copy behaviour to …
Browse files Browse the repository at this point in the history
…copy just-task
  • Loading branch information
Hotell committed Mar 7, 2022
1 parent 0295d1e commit 276c9f1
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions scripts/tasks/copy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,8 @@ export function copy() {
dest: destinationPath,
}),
);

continue;
}

if (typeof sources === 'string') {
Expand All @@ -67,6 +69,8 @@ export function copy() {
],
}),
);

continue;
}

throw new Error('non supported API used. copyTo is a String Dictionary with values being string or string array');
Expand Down

0 comments on commit 276c9f1

Please sign in to comment.