Skip to content

Commit 57246f5

Browse files
committed
Fix path for the metadata folder
1 parent b4d65e6 commit 57246f5

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

Assets/Scripts/Editor/BuildScript.cs

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -400,14 +400,7 @@ private static void ArchiveBuildReport(string buildOutputPath)
400400
return;
401401
}
402402

403-
string buildDirectory = Path.GetDirectoryName(buildOutputPath);
404-
if (string.IsNullOrEmpty(buildDirectory))
405-
{
406-
buildDirectory = ".";
407-
}
408-
409-
410-
string destinationFolder = Path.Combine(buildDirectory, "metadata");
403+
string destinationFolder = Path.Combine(buildOutputPath, "metadata");
411404
Directory.CreateDirectory(destinationFolder);
412405
string destinationPath = Path.Combine(destinationFolder, "LastBuild.buildreport");
413406
File.Copy(buildReportPath, destinationPath, true);

0 commit comments

Comments
 (0)