From 078aaa6968016a1154d78386cc805a06f01205e9 Mon Sep 17 00:00:00 2001 From: Jordi Boggiano Date: Sun, 27 Jun 2021 14:44:43 +0200 Subject: [PATCH] Make sure the correct name is being output, fixes #9986 --- src/Composer/Command/InitCommand.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Composer/Command/InitCommand.php b/src/Composer/Command/InitCommand.php index 214cae359018..a7c6e1578721 100644 --- a/src/Composer/Command/InitCommand.php +++ b/src/Composer/Command/InitCommand.php @@ -160,7 +160,7 @@ protected function execute(InputInterface $input, OutputInterface $output) throw new \RuntimeException('You have to run this command in interactive mode, or specify at least some data using --name, --require, etc.'); } - $io->writeError('Writing composer.json'); + $io->writeError('Writing '.$file->getPath()); } $file->write($options);