Skip to content

Commit

Permalink
Merge pull request #257 from mimmi20/issue-255
Browse files Browse the repository at this point in the history
write information about used local file to output
  • Loading branch information
asgrim authored Jan 18, 2019
2 parents f43d1fd + 7436a43 commit b6ca3db
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Command/ConvertCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,8 @@ protected function execute(InputInterface $input, OutputInterface $output) : int
$file = $this->defaultIniFile;
}

$output->writeln(sprintf('converting file %s', $file));

try {
$browscap->convertFile($file);
} catch (Exception\FileNameMissingException $e) {
Expand Down
2 changes: 2 additions & 0 deletions src/Command/FetchCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,8 @@ protected function execute(InputInterface $input, OutputInterface $output) : int
$file = $this->defaultIniFile;
}

$output->writeln(sprintf('write fetched file to %s', $file));

$logger->info('started fetching remote file');

$browscap = new BrowscapUpdater($cache, $logger);
Expand Down

0 comments on commit b6ca3db

Please sign in to comment.