Skip to content

Commit

Permalink
Merge pull request #557 from zkamvar/znk-fix-556
Browse files Browse the repository at this point in the history
lesson_check.py allow for missing life_cycle
  • Loading branch information
zkamvar authored Mar 10, 2021
2 parents a841a56 + b2f42c2 commit a283c4b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions bin/lesson_check.py
Original file line number Diff line number Diff line change
Expand Up @@ -188,6 +188,8 @@ def check_config(reporter, source_dir):
reporter.check(defaults in config.get('defaults', []),
'configuration',
'"root" not set to "." in configuration')
if 'life_cycle' not in config:
config['life_cycle'] = None
return config['life_cycle']

def check_source_rmd(reporter, source_dir, parser):
Expand Down

0 comments on commit a283c4b

Please sign in to comment.