diff options
| author | Mitchell <mitch@riedstra.dev> | 2021-03-20 01:37:03 -0400 |
|---|---|---|
| committer | Mitchell <mitch@riedstra.dev> | 2021-03-20 01:37:03 -0400 |
| commit | d047c36dd09b6169bf27c244196e99bb5df54c3a (patch) | |
| tree | 5103e1951bd58bbef54c90a13c199e8d1d866492 /cmd/web/install.go | |
| parent | 0e62a3b46b25e7c101b14ed44235f3c276982fc0 (diff) | |
| download | steam-export-d047c36dd09b6169bf27c244196e99bb5df54c3a.tar.gz steam-export-d047c36dd09b6169bf27c244196e99bb5df54c3a.tar.xz | |
Update documentation. Remove all traces of chdir from the steam library. Remove most linter complaints.
Diffstat (limited to 'cmd/web/install.go')
| -rw-r--r-- | cmd/web/install.go | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/cmd/web/install.go b/cmd/web/install.go index dc85a89..e59a5c5 100644 --- a/cmd/web/install.go +++ b/cmd/web/install.go @@ -10,7 +10,7 @@ import ( "time" ) -func (a *App) installHttp(u string) error { +func (a *App) installHTTP(u string) error { Logger.Println("Installer: loading from url") resp, err := http.Get(u) if err != nil { @@ -97,7 +97,7 @@ func (a *App) installer() { a.Status.Unlock() if strings.HasPrefix(u, "http") { - err = a.installHttp(u) + err = a.installHTTP(u) } else { err = a.installPath(u) } @@ -111,4 +111,3 @@ func (a *App) installer() { a.LibraryReload() } } - |
