diff --git a/curseforge/export.go b/curseforge/export.go index d25241c..273b76e 100644 --- a/curseforge/export.go +++ b/curseforge/export.go @@ -9,6 +9,7 @@ import ( "github.com/spf13/viper" "os" "path/filepath" + "strconv" "github.com/comp500/packwiz/core" "github.com/spf13/cobra" @@ -308,16 +309,7 @@ func createModlist(zw *zip.Writer, mods []core.Mod) error { continue } project := projectRaw.(cfUpdateData) - // TODO: store this in the metadata - modInfo, err := getModInfo(project.ProjectID) - if err != nil { - _, err = w.WriteString("
  • " + mod.Name + "
  • \r\n") - if err != nil { - return err - } - continue - } - _, err = w.WriteString("
  • " + mod.Name + "
  • \r\n") + _, err = w.WriteString("
  • " + mod.Name + "
  • \r\n") if err != nil { return err }