goruby/goruby

View on GitHub
object/file.go

Summary

Maintainability
A
45 mins
Test Coverage

Function fileExpandPath has 7 return statements (exceeds 4 allowed).
Open

func fileExpandPath(context CallContext, args ...RubyObject) (RubyObject, error) {
    switch len(args) {
    case 1:
        str, ok := args[0].(*String)
        if !ok {
Severity: Major
Found in object/file.go - About 45 mins to fix

    There are no issues that match your filters.

    Category
    Status