forked from engineering/cloudservices
go bindings for username lookup by UID
parent
d68ea27fac
commit
8aebf2b291
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
@ -7,7 +7,7 @@ import (
|
|||
)
|
||||
|
||||
func main() {
|
||||
if len(os.Args) > 1 {
|
||||
if len(os.Args) < 1 {
|
||||
fmt.Println("-1")
|
||||
os.Exit(0)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue