Skip to content

Commit 84ab53d

Browse files
authored
change the : separator to a record separator \x1e (#113)
1 parent 79991a8 commit 84ab53d

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

server/src/server.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -412,7 +412,11 @@ async function runCompiler(
412412
let stdout = "";
413413
try {
414414
const script_path_flag =
415-
includeFlagForPath(uri) + ":" + settings.includeDirs.join(":") + '"';
415+
includeFlagForPath(uri) +
416+
"\x1e" + // \x1e is the record separator character (a character that is unlikely to appear in a path)
417+
settings.includeDirs.join("\x1e") +
418+
'"';
419+
416420
const max_errors = settings.maxNumberOfProblems;
417421

418422
if (flags.includes("ide-check")) {

0 commit comments

Comments
 (0)