Yaffs site version 1.1
[yaffs-website] / vendor / drupal / console / src / Command / Config / ImportCommand.php
index 373b3d5870ba69fe8d57b61b1c34dc3b406b2591..8f5ad6010661dd18fc02205b9d2a931278f61062 100644 (file)
@@ -70,7 +70,7 @@ class ImportCommand extends Command
             )
             ->addOption(
                 'remove-files',
             )
             ->addOption(
                 'remove-files',
-                false,
+                null,
                 InputOption::VALUE_NONE,
                 $this->trans('commands.config.import.options.remove-files')
             );
                 InputOption::VALUE_NONE,
                 $this->trans('commands.config.import.options.remove-files')
             );
@@ -130,7 +130,7 @@ class ImportCommand extends Command
                 $config_importer->import();
                 return true;
             } catch (ConfigImporterException $e) {
                 $config_importer->import();
                 return true;
             } catch (ConfigImporterException $e) {
-                $message = 'The import failed due for the following reasons:' . "\n";
+                $message = 'The import failed due to the following reasons:' . "\n";
                 $message .= implode("\n", $config_importer->getErrors());
                 $io->error(
                     sprintf(
                 $message .= implode("\n", $config_importer->getErrors());
                 $io->error(
                     sprintf(