Skip to content

Commit

Permalink
Fix for compiler output all on one line.
Browse files Browse the repository at this point in the history
  • Loading branch information
vincentparrett committed Aug 30, 2024
1 parent 3858382 commit dae2192
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Source/Core/Compiler/DPM.Core.Compiler.MSBuild.pas
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,7 @@ function TMSBuildCompiler.BuildProject(const cancellationToken : ICancellationTo
var
commandLine : string;
env : IEnvironmentBlock;
i : integer;
begin
result := false;
FBuildForDesign := forDesign;
Expand Down Expand Up @@ -154,8 +155,8 @@ function TMSBuildCompiler.BuildProject(const cancellationToken : ICancellationTo
begin
FLogger.Error('Package compilation failed.');
FCompilerOutput.LoadFromFile(FCompilerLogFile);
//TODO : This should be logged as an error, but then you would get a wall of red text which is hard to read.
FLogger.Information(FCompilerOutput.Text);
for i := 0 to FCompilerOutput.Count -1 do
FLogger.Information(FCompilerOutput.Strings[i]);
FCompilerOutput.Clear;
end;
TFile.Delete(FCompilerLogFile);
Expand Down

0 comments on commit dae2192

Please sign in to comment.