Skip to content

Commit 548ea58

Browse files
committed
Merge pull request #29 from rybakit/patch-1
Tweak io message to be consistent with other ones
2 parents d76d17d + bba34fc commit 548ea58

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

ScriptHandler.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ private static function processFile(array $config, IOInterface $io)
4949
$yamlParser = new Parser();
5050

5151
$action = $exists ? 'Updating' : 'Creating';
52-
$io->write(sprintf('<info>%s the "%s" file.</info>', $action, $realFile));
52+
$io->write(sprintf('<info>%s the "%s" file</info>', $action, $realFile));
5353

5454
// Find the expected params
5555
$expectedValues = $yamlParser->parse(file_get_contents($config['dist-file']));

Tests/ScriptHandlerTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ public function testParameterHandling($testCaseName)
128128

129129
$this->package->getExtra()->willReturn(array('incenteev-parameters' => $testCase['config']));
130130

131-
$message = sprintf('<info>%s the "%s" file.</info>', $exists ? 'Updating' : 'Creating', $testCase['config']['file']);
131+
$message = sprintf('<info>%s the "%s" file</info>', $exists ? 'Updating' : 'Creating', $testCase['config']['file']);
132132
$this->io->write($message)->shouldBeCalled();
133133

134134
$this->setInteractionExpectations($testCase);

0 commit comments

Comments
 (0)