Fix flight page errors and some naming fixes

This commit is contained in:
Nabeel Shahzad
2018-03-08 08:51:36 -06:00
parent fefc6bc22a
commit f13c961863
27 changed files with 125 additions and 89 deletions

View File

@@ -19,7 +19,7 @@ class Version extends BaseCommand
# prefix with the date in YYMMDD format
$date = date('ymd');
$version = $date.'-'.$version;
$version = $date . '-' . $version;
return $version;
}
@@ -40,7 +40,7 @@ class Version extends BaseCommand
$c = $cfg['current'];
$version = "v{$c['major']}.{$c['minor']}.{$c['patch']}-{$build_number}";
if($this->option('write')) {
if ($this->option('write')) {
file_put_contents($version_file, Yaml::dump($cfg, 4, 2));
}