mirror of
https://github.com/packwiz/packwiz.git
synced 2025-10-28 01:34:33 +01:00
Pass through optional-disabled on CF import (fixes #93)
This commit is contained in:
@@ -262,7 +262,7 @@ var importCmd = &cobra.Command{
|
||||
continue
|
||||
}
|
||||
|
||||
err = createModFile(modInfoValue, modFileInfoValue, &index)
|
||||
err = createModFile(modInfoValue, modFileInfoValue, &index, v.OptionalDisabled)
|
||||
if err != nil {
|
||||
fmt.Printf("Failed to save mod \"%s\": %s\n", modInfoValue.Name, err)
|
||||
os.Exit(1)
|
||||
|
||||
Reference in New Issue
Block a user