+ if (!$yaml_destination) {
+ $fs = new Filesystem();
+ try {
+ $fs->touch($input->getArgument('yaml-destination'));
+ $yaml_destination = realpath($input->getArgument('yaml-destination'));
+ } catch (\Exception $e) {
+ $io->error(
+ sprintf(
+ '%s: %s',
+ $this->trans('commands.yaml.merge.messages.error-writing'),
+ $e->getMessage()
+ )
+ );
+
+ return;
+ }
+ }
+