fix main being the wrong variable

This commit is contained in:
2024-03-04 10:50:58 +00:00
parent cf040a5209
commit 046ad89679
3 changed files with 8 additions and 8 deletions

View File

@@ -61,12 +61,12 @@ func main() {
if e != nil {
panic(e)
}
translated, err := translateImport(Args[0], ex, true)
translated, err := translateImport(Args[0], ex)
if err.EXISTS {
panicErr(err)
os.Exit(1)
}
_, runimeErr := runTranslatedImport(translated, global)
_, runimeErr := runTranslatedImport(translated, global, true)
if runimeErr.EXISTS {
panicErr(runimeErr)
os.Exit(1)