mirror of
https://github.com/Noratrieb/riverdelta.git
synced 2026-01-14 16:35:03 +01:00
allocators and type aliases
This commit is contained in:
parent
60c743d656
commit
f05e5520f3
16 changed files with 283 additions and 121 deletions
|
|
@ -79,7 +79,11 @@ export function parseArgs(hardcodedInput: string): Options {
|
|||
}
|
||||
|
||||
input = fs.readFileSync(filename, { encoding: "utf-8" });
|
||||
packageName = path.basename(filename, ".nil");
|
||||
if (filename.endsWith(".mod.nil")) {
|
||||
packageName = path.basename(filename, ".mod.nil");
|
||||
} else {
|
||||
packageName = path.basename(filename, ".nil");
|
||||
}
|
||||
|
||||
const debugArg = process.argv.find((arg) => arg.startsWith("--debug="));
|
||||
if (debugArg !== undefined) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue