Skip to content

Commit c198ec3

Browse files
committed
fix os.copy
1 parent 345757a commit c198ec3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

os/src/FileOps.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ object copy {
203203
def copyOne(p: Path): Unit = {
204204
val target = to / p.relativeTo(from)
205205
if (mergeFolders && isDir(p, followLinks) && !exists(target,followLinks)) {
206-
// nothing to do
206+
os.makeDir(target)
207207
} else if (mergeFolders && isDir(p, followLinks) && isDir(target, followLinks)) {
208208
// nothing to do
209209
} else {

0 commit comments

Comments
 (0)