mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-15 14:31:42 +00:00
los deploys pueden no tener destino
closes #7151 closes #7152 closes #7153 closes #7154 closes #7167 closes #7168 closes #7169 closes #7170 closes #7380 closes #7381 closes #7382 closes #7383 closes #7394 closes #7395 closes #7396 closes #7397 closes #7405 closes #7406 closes #7407 closes #7408 closes #7491 closes #7492 closes #7493 closes #7494 closes #7509 closes #7510 closes #7511 closes #7512 closes #7527 closes #7528 closes #7529 closes #7530
This commit is contained in:
parent
091ceac788
commit
cacb355b62
1 changed files with 1 additions and 1 deletions
|
@ -109,7 +109,7 @@ class UriCollectionJob < PeriodicJob
|
|||
#
|
||||
# TODO: Cambiar al mergear origin-referer
|
||||
def destinations
|
||||
@destinations ||= site.deploys.map(&:destination).select do |d|
|
||||
@destinations ||= site.deploys.map(&:destination).compact.select do |d|
|
||||
File.directory?(d)
|
||||
end.map do |d|
|
||||
File.realpath(d)
|
||||
|
|
Loading…
Reference in a new issue