Skip to content

Commit

Permalink
lint fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
NicholasLYang committed Apr 11, 2023
1 parent c613ab6 commit bfe948a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 10 deletions.
2 changes: 1 addition & 1 deletion cli/internal/client/client.go
Expand Up @@ -6,7 +6,6 @@ import (
"crypto/x509"
"errors"
"fmt"
"github.com/vercel/turbo/cli/internal/turbostate"
"io/ioutil"
"net/http"
"net/url"
Expand All @@ -18,6 +17,7 @@ import (
"github.com/hashicorp/go-hclog"
"github.com/hashicorp/go-retryablehttp"
"github.com/vercel/turbo/cli/internal/ci"
"github.com/vercel/turbo/cli/internal/turbostate"
)

// APIClient is the main interface for making network requests to Vercel
Expand Down
9 changes: 0 additions & 9 deletions cli/internal/config/config_file.go
Expand Up @@ -22,12 +22,3 @@ func (rc *RepoConfig) LoginURL() string {
func DefaultUserConfigPath() turbopath.AbsoluteSystemPath {
return fs.GetUserConfigDir().UntypedJoin("config.json")
}

const (
_defaultAPIURL = "https://vercel.com/api"
)

// GetRepoConfigPath reads the user-specific configuration values
func GetRepoConfigPath(repoRoot turbopath.AbsoluteSystemPath) turbopath.AbsoluteSystemPath {
return repoRoot.UntypedJoin(".turbo", "config.json")
}

0 comments on commit bfe948a

Please sign in to comment.