lib/nanoc/cli/commands/deploy.rb in nanoc-4.8.19 vs lib/nanoc/cli/commands/deploy.rb in nanoc-4.9.0
- old
+ new
@@ -87,10 +87,10 @@
)
end
def check
runner = Nanoc::Checking::Runner.new(@site)
- if runner.dsl_present?
+ if runner.any_enabled_checks?
puts 'Running issue checks…'
is_success = runner.run_for_deploy
if is_success
puts 'No issues found. Deploying!'
else