Skip to content

Commit

Permalink
finished for the night with Go
Browse files Browse the repository at this point in the history
  • Loading branch information
tristanisham committed May 13, 2023
1 parent 2d2cd62 commit 4cf9038
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion cli/install.go
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,8 @@ func (z *ZVM) Install(version string) error {
return nil
}



func getTarPath(version string, data *map[string]map[string]any) (*string, error) {
if info, ok := (*data)[version]; ok {
arch, ops := zigStyleSysInfo()
Expand Down Expand Up @@ -282,4 +284,4 @@ func unzipFile(f *zip.File, destination string) error {
return err
}
return nil
}
}
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ package main

import (
"fmt"
"html/template"
"github.com/charmbracelet/log"
"html/template"
"os"
"strings"
"zvm/cli"
Expand Down

0 comments on commit 4cf9038

Please sign in to comment.