mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-16 22:16:22 +00:00
la validación de directorio pasa por otro lado
This commit is contained in:
parent
9998f19087
commit
23e2edf259
1 changed files with 0 additions and 1 deletions
|
@ -20,7 +20,6 @@ class UriCollectionJob < PeriodicJob
|
||||||
|
|
||||||
def perform(site_id:, once: true)
|
def perform(site_id:, once: true)
|
||||||
@site = Site.find site_id
|
@site = Site.find site_id
|
||||||
return unless File.directory? destination
|
|
||||||
|
|
||||||
# Recordar la última vez que se corrió la tarea
|
# Recordar la última vez que se corrió la tarea
|
||||||
stat = site.stats.create! name: STAT_NAME
|
stat = site.stats.create! name: STAT_NAME
|
||||||
|
|
Loading…
Reference in a new issue