This commit is contained in:
geseq 2019-11-02 07:36:47 +01:00 committed by GitHub
parent 388b3e73b0
commit 4cd9a2bcbc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -82,7 +82,7 @@ func makeOSFile(file *os.File) *objects.ImmutableMap {
},
// stat() => imap(fileinfo)/error
"stat": &objects.UserFunction{
Name: "start",
Name: "stat",
Value: func(args ...objects.Object) (ret objects.Object, err error) {
if len(args) != 0 {
return nil, objects.ErrWrongNumArguments