Follow same pattern as other tasks

This commit is contained in:
0x1eef 2023-11-27 18:18:10 -03:00
parent bf4b7484f9
commit 7db3476239

View file

@ -50,9 +50,10 @@ namespace :nanoc do
sleep sleep
rescue Interrupt rescue Interrupt
warn "SIGINT: exit" warn "SIGINT: exit"
exit
ensure
warn "[build] Release lock..." warn "[build] Release lock..."
lockf.release lockf.release
exit
end end
end end