mirror of
https://github.com/Open-Argon/argon-v3.git
synced 2025-12-06 08:56:07 +00:00
move to test folder and fix import bug in shell
This commit is contained in:
@@ -107,7 +107,11 @@ func importMod(realpath string, origin string, main bool) (ArObject, ArErr) {
|
||||
return ArObject{}, translationerr
|
||||
}
|
||||
ArgsArArray := []any{}
|
||||
for _, arg := range Args[1:] {
|
||||
withoutarfile := []string{}
|
||||
if len(Args) > 1 {
|
||||
withoutarfile = Args[1:]
|
||||
}
|
||||
for _, arg := range withoutarfile {
|
||||
ArgsArArray = append(ArgsArArray, arg)
|
||||
}
|
||||
global := newscope()
|
||||
|
||||
Reference in New Issue
Block a user