Skip to content

Commit

Permalink
fix github provider panic
Browse files Browse the repository at this point in the history
Signed-off-by: Ivan Milchev <[email protected]>
  • Loading branch information
imilchev committed Feb 28, 2024
1 parent db47a96 commit 1ddd9dd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion providers/github/resources/github_repo.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ package resources
import (
"context"
"errors"
"fmt"
"strconv"
"strings"

Expand Down Expand Up @@ -197,7 +198,7 @@ func initGithubRepository(runtime *plugin.Runtime, args map[string]*llx.RawData)
}
}

return args, nil, nil
return args, nil, fmt.Errorf("could not find repository %q", reponame)
}

func (g *mqlGithubLicense) id() (string, error) {
Expand Down

0 comments on commit 1ddd9dd

Please sign in to comment.