From 84738138b68dfdd1bbb22202c279c0f1a3f9f63e Mon Sep 17 00:00:00 2001 From: Andrej Ludinovskov Date: Thu, 2 Nov 2017 20:43:58 +0000 Subject: [PATCH] Fixed bug when config:hosts shows more than one table of hosts #1403 --- CHANGELOG.md | 3 +++ recipe/config/hosts.php | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index a7dffc85..b8a92cbb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,8 @@ # Changelog +### Fixed +- Fixed bug when config:hosts shows more than one table of hosts [#1403] + ## master [v6.0.3...master](https://github.com/deployphp/deployer/compare/v6.0.3...master) diff --git a/recipe/config/hosts.php b/recipe/config/hosts.php index 5fcf550a..dd4320b7 100644 --- a/recipe/config/hosts.php +++ b/recipe/config/hosts.php @@ -28,4 +28,4 @@ task('config:hosts', function () { ->setHeaders(['Host', 'Hostname', 'Stage', 'Roles', 'Deploy path']) ->setRows($hosts); $table->render(); -}); +})->once();