mirror of
https://github.com/thegeeklab/wp-git-clone.git
synced 2024-11-22 00:10:39 +00:00
fix: fix default for tags parameter
This commit is contained in:
parent
802772766b
commit
d93763eccd
@ -93,6 +93,7 @@ func settingsFlags(settings *plugin.Settings, category string) []cli.Flag {
|
||||
Name: "tags",
|
||||
Usage: "fetch git tags during clone",
|
||||
EnvVars: []string{"PLUGIN_TAGS"},
|
||||
Value: true,
|
||||
Destination: &settings.Tags,
|
||||
Category: category,
|
||||
},
|
||||
@ -145,7 +146,6 @@ func settingsFlags(settings *plugin.Settings, category string) []cli.Flag {
|
||||
Name: "partial",
|
||||
Usage: "enable/disable partial clone",
|
||||
EnvVars: []string{"PLUGIN_PARTIAL"},
|
||||
Value: false,
|
||||
Destination: &settings.Partial,
|
||||
Category: category,
|
||||
},
|
||||
@ -160,7 +160,6 @@ func settingsFlags(settings *plugin.Settings, category string) []cli.Flag {
|
||||
Name: "use-ssh",
|
||||
Usage: "using ssh for git clone",
|
||||
EnvVars: []string{"PLUGIN_USE_SSH"},
|
||||
Value: false,
|
||||
Destination: &settings.UseSSH,
|
||||
Category: category,
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user