Skip to content

Commit e51b8a4

Browse files
committed
修复文件拷贝的问题。 🌽
1 parent 438cf13 commit e51b8a4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

upgrading/deployer/Deployer.Helper.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ public static void Replicate(DirectoryInfo source, string destination)
9090
var files = source.GetFiles();
9191
for(int i = 0; i < files.Length; i++)
9292
{
93-
files[i].CopyTo(destination, true);
93+
files[i].CopyTo(Path.Combine(destination, files[i].Name), true);
9494
}
9595

9696
var directories = source.GetDirectories();

0 commit comments

Comments
 (0)