lib/takelage/bit/require/export.rb in takelage-0.20.1 vs lib/takelage/bit/require/export.rb in takelage-0.20.2
- old
+ new
@@ -4,9 +4,11 @@
module BitRequireExport
# Backend method for bit require export.
def bit_require_export
log.debug 'Running bit require export'
+ return false unless configured? %w[project_root_dir]
+
components = _bit_require_lib_get_components
bitrequire_yml = _bit_require_export_get_bitrequire_yml components
log.debug "bitrequire.yml of this project:\n#{bitrequire_yml}"
bitrequire_yml