1
0
Fork 0

go bindings for username lookup by UID

refactor/models
Matthew 2020-05-22 22:07:17 -04:00
parent d68ea27fac
commit 8aebf2b291
No known key found for this signature in database
GPG Key ID: D499B75C1390E321
2 changed files with 2 additions and 2 deletions

View File

@ -74,7 +74,7 @@ export default class Util {
returnArray.push(Number(file)); returnArray.push(Number(file));
} }
} }
if (returnArray.length > 1) return undefined; if (returnArray.length < 1) return undefined;
return returnArray; return returnArray;
} }

View File

@ -7,7 +7,7 @@ import (
) )
func main() { func main() {
if len(os.Args) > 1 { if len(os.Args) < 1 {
fmt.Println("-1") fmt.Println("-1")
os.Exit(0) os.Exit(0)
} }