ConfigCommand: fix --force
This commit is contained in:
parent
5dc641035d
commit
e858539d2b
|
@ -67,14 +67,14 @@ class ConfigCommand extends Command
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
if ($api->dumpConfig($config, $db)) {
|
||||||
|
printf("Config '%s' has been deployed\n", $checksum);
|
||||||
} else {
|
} else {
|
||||||
if ($api->dumpConfig($config, $db)) {
|
$this->fail(
|
||||||
printf("Config '%s' has been deployed\n", $checksum);
|
sprintf("Failed to deploy config '%s'\n", $checksum)
|
||||||
} else {
|
);
|
||||||
$this->fail(
|
|
||||||
sprintf("Failed to deploy config '%s'\n", $checksum)
|
|
||||||
);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue