mirror of
https://github.com/deployphp/deployer.git
synced 2025-02-24 09:12:51 +01:00
Merge pull request #1044 from deployphp/analysis-XkBkRj
Apply fixes from StyleCI
This commit is contained in:
commit
6246c34379
@ -59,7 +59,7 @@ set('releases_list', function () {
|
||||
// will output a really big list of previous releases.
|
||||
// It spoils appearance of output log, to make it pretty,
|
||||
// we limit it to `n*2 + 5` lines from end of file (15 lines).
|
||||
// Always read as many lines as there are release directories.
|
||||
// Always read as many lines as there are release directories.
|
||||
$csv = run("tail -n " . max(count($releases), ($keepReleases * 2 + 5)) . " .dep/releases");
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user