Commit fa8a6afd authored by Erick Hitter's avatar Erick Hitter
Browse files

Note why we pass `--quiet`, as it's uncommon

parent 30a6dbd6
......@@ -308,6 +308,7 @@ func runEvents(workerID int, events <-chan event) {
func runWpCliCmd(subcommand []string) (string, error) {
// `--quiet`` included to prevent WP-CLI commands from generating invalid JSON
subcommand = append(subcommand, "--allow-root", "--quiet", fmt.Sprintf("--path=%s", wpPath))
if wpNetwork > 0 {
subcommand = append(subcommand, fmt.Sprintf("--network=%d", wpNetwork))
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment