Skip to content
This repository has been archived by the owner on Sep 11, 2023. It is now read-only.

Commit

Permalink
Errors not presented upon compilation hotfix
Browse files Browse the repository at this point in the history
  • Loading branch information
Natanel-Shitrit committed Feb 5, 2021
1 parent 302564d commit 45ee0c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion UI/MainWindowSPCompiler.cs
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ private async void Compile_SPScripts(bool All = true)
File.Delete(outFile);
}

var errorFile = $@"{Paths.GetErrorFilesDirectory()}\error_{Environment.TickCount}_{file.GetHashCode():X}_{i}.txt";
var errorFile = $@"{fileInfo.DirectoryName}\error_{Environment.TickCount}_{file.GetHashCode():X}_{i}.txt";
if (File.Exists(errorFile))
{
File.Delete(errorFile);
Expand Down

0 comments on commit 45ee0c8

Please sign in to comment.