Browse Source

Use temp dir. Fixes issue #40877

Michaël Van Canneyt 1 month ago
parent
commit
2ca1dfd0f3
1 changed files with 1 additions and 1 deletions
  1. 1 1
      packages/pastojs/src/pas2jslogger.pp

+ 1 - 1
packages/pastojs/src/pas2jslogger.pp

@@ -1112,7 +1112,7 @@ begin
   if LogFile=nil then
   if LogFile=nil then
     LogFile:=TStringList.Create;
     LogFile:=TStringList.Create;
   LogFile.Add(TPas2jsLogger.Concatenate(args));
   LogFile.Add(TPas2jsLogger.Concatenate(args));
-  LogFile.SaveToFile('c:\tmp\libpas2jsparams.txt');
+  LogFile.SaveToFile(GetTempDir+'libpas2jsparams.txt');
 end;
 end;
 {$ENDIF}
 {$ENDIF}