Skip to content

Commit

Permalink
Merge pull request #177 from stayintarkov/config-copy-fix
Browse files Browse the repository at this point in the history
Create target path if it doesn't exist
  • Loading branch information
Plootie committed Apr 11, 2024
2 parents 910588e + 7d76f0d commit 9fdd7cb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions SIT.Manager/Services/ModService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ private async Task InstallFiles(string baseSourceDirectory, string baseTargetDir
{
string sourcePath = Path.Combine(baseSourceDirectory, file);
string targetPath = Path.Combine(baseTargetDirectory, file);
Directory.CreateDirectory(targetPath);
await _filesService.CopyFileAsync(sourcePath, targetPath).ConfigureAwait(false);
}
}
Expand Down

0 comments on commit 9fdd7cb

Please sign in to comment.