go bindings for username lookup by UID

merge-requests/4/head
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));
}
}
if (returnArray.length > 1) return undefined;
if (returnArray.length < 1) return undefined;
return returnArray;
}

View File

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