update issue templates.

This commit is contained in:
James Cole
2020-03-25 19:25:50 +01:00
parent 5445752588
commit 84bdd47109
5 changed files with 19 additions and 8 deletions

View File

@@ -238,11 +238,12 @@ class ExportData extends Command
/**
* @throws FireflyException
*
* @return string
*/
private function getExportDirectory(): string
{
$directory = $this->option('export_directory');
$directory = (string) $this->option('export_directory');
if (null === $directory) {
$directory = './';
}