Fixing some small things. And making some design decisions.

This commit is contained in:
K35
2021-12-31 21:42:24 +00:00
parent d5cfdcadc1
commit cc6035eef0
4 changed files with 4 additions and 4 deletions

View File

@ -96,7 +96,7 @@ function processFile(ctx: ProcessContext, file: string): Parsed | null {
.map((statement) => {
if (statement.type == "import") {
const base = Path.dirname(file);
const resolved = Path.resolve(Path.join(base, statement.path));
const resolved = Path.resolve(Path.join(base, statement.path + ".jrpc"));
return processFile(ctx, resolved);
} else {
return statement;