mirror of
https://gitlab.com/freepascal.org/fpc/pas2js.git
synced 2025-04-13 15:39:22 +02:00
pastojs: fixed writing workingdirectory
This commit is contained in:
parent
389c496b28
commit
0ece012627
@ -1494,7 +1494,7 @@ procedure TPas2jsFilesCache.WriteFoldersAndSearchPaths;
|
||||
var
|
||||
i: Integer;
|
||||
begin
|
||||
WriteFolder('working directory',GetCurrentDirPJ);
|
||||
WriteFolder('working directory',BaseDirectory);
|
||||
for i:=0 to ForeignUnitPaths.Count-1 do
|
||||
WriteFolder('foreign unit path',ForeignUnitPaths[i]);
|
||||
for i:=0 to UnitPaths.Count-1 do
|
||||
|
@ -31,14 +31,15 @@ uses
|
||||
Classes, SysUtils, PScanner, fpjson;
|
||||
|
||||
const // Messages
|
||||
nUsingPath = 104; sUsingPath = 'Using %s: "%s"';
|
||||
nFolderNotFound = 105; sFolderNotFound = '%s not found: %s';
|
||||
|
||||
nIncludeSearch = 201; sIncludeSearch = 'Include file search: %s';
|
||||
nUnitSearch = 202; sUnitSearch = 'Unitsearch: %s';
|
||||
nSearchingFileFound = 203; sSearchingFileFound = 'Searching file: %s... found';
|
||||
nSearchingFileNotFound = 204; sSearchingFileNotFound = 'Searching file: %s... not found';
|
||||
nDuplicateFileFound = 205; sDuplicateFileFound = 'Duplicate file found: "%s" and "%s"';
|
||||
nCustomJSFileNotFound = 206; sCustomJSFileNotFound = 'custom JS file not found: "%s"';
|
||||
nUsingPath = 104; sUsingPath = 'Using %s: "%s"';
|
||||
nFolderNotFound = 105; sFolderNotFound = '%s not found: %s';
|
||||
|
||||
Type
|
||||
// Forward definitions
|
||||
|
Loading…
Reference in New Issue
Block a user