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

Commit 45ee0c8

Browse files
Errors not presented upon compilation hotfix
1 parent 302564d commit 45ee0c8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

UI/MainWindowSPCompiler.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ private async void Compile_SPScripts(bool All = true)
132132
File.Delete(outFile);
133133
}
134134

135-
var errorFile = $@"{Paths.GetErrorFilesDirectory()}\error_{Environment.TickCount}_{file.GetHashCode():X}_{i}.txt";
135+
var errorFile = $@"{fileInfo.DirectoryName}\error_{Environment.TickCount}_{file.GetHashCode():X}_{i}.txt";
136136
if (File.Exists(errorFile))
137137
{
138138
File.Delete(errorFile);

0 commit comments

Comments
 (0)