Fixing some small things. And making some design decisions.
This commit is contained in:
@ -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;
|
||||
|
Reference in New Issue
Block a user