mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-14 18:11:41 +00:00
Soportar sitios sin yarn.lock
Como el chequeo devuelve nil, un sitio sin yarn.lock nunca se compilaría.
This commit is contained in:
parent
312df05a84
commit
9f84c14a69
1 changed files with 1 additions and 1 deletions
|
@ -80,7 +80,7 @@ class DeployLocal < Deploy
|
|||
|
||||
# Corre yarn dentro del repositorio
|
||||
def yarn
|
||||
return unless yarn_lock?
|
||||
return true unless yarn_lock?
|
||||
|
||||
run 'yarn'
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue