Skip to content

Commit

Permalink
chore: remove commented out section
Browse files Browse the repository at this point in the history
  • Loading branch information
b4nst committed Aug 2, 2021
1 parent d8c0c4b commit 4c57251
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 26 deletions.
3 changes: 0 additions & 3 deletions .gitignore
Expand Up @@ -40,9 +40,6 @@
/.scannerwork/
/sonar-reports/

# Created by https://www.toptal.com/developers/gitignore/api/vim
# Edit at https://www.toptal.com/developers/gitignore?templates=vim

### Vim ###
# Swap
[._]*.s[a-v][a-z]
Expand Down
14 changes: 0 additions & 14 deletions lib/mod/cache/fetch.go
Expand Up @@ -78,7 +78,6 @@ func fetchGit(lang, remote, owner, repo, tag string) error {
}

// Needs auth
fmt.Println("Private repo, trying to authenticate with ssh")
newRemote, auth, err := getSSHAuth(remote)
if err != nil {
return err
Expand Down Expand Up @@ -133,19 +132,6 @@ func fetchGitHub(lang, owner, repo, tag string) (err error) {
return fmt.Errorf("While fetching from github\n%w\n", err)
}

/*
fmt.Println("filelist:")
files, err := yagu.BillyGetFilelist(FS)
if err != nil {
return fmt.Errorf("While getting filelist\n%w\n", err)
}
for _, f := range files {
fmt.Println(" -", f.Name())
}
fmt.Println("Writing...", )
*/
err = Write(lang, "github.com", owner, repo, tag, FS)
if err != nil {
return fmt.Errorf("While writing to cache\n%w\n", err)
Expand Down
9 changes: 0 additions & 9 deletions lib/mod/modder/modder_vendor.go
Expand Up @@ -123,15 +123,6 @@ func (mdr *Modder) LoadRemoteModule(R Replace) error {
// If sumfile, check integrity and possibly shortcut
if mdr.module.SumFile != nil {
mdr.CompareSumEntryToVendor(R)
/*
err := mdr.CompareSumEntryToVendor(R)
if err == nil {
// return nil
// TODO, add dependencies to processing
} else {
fmt.Println("Error:", err)
}
*/
}

// TODO, check if valid and just add m.deps to processing
Expand Down

0 comments on commit 4c57251

Please sign in to comment.