We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 32f7bd1 commit b2f42c2Copy full SHA for b2f42c2
1 file changed
bin/lesson_check.py
@@ -188,10 +188,9 @@ def check_config(reporter, source_dir):
188
reporter.check(defaults in config.get('defaults', []),
189
'configuration',
190
'"root" not set to "." in configuration')
191
- if 'life_cycle' in config:
192
- return config['life_cycle']
193
- else
194
- return None
+ if 'life_cycle' not in config:
+ config['life_cycle'] = None
+ return config['life_cycle']
195
196
def check_source_rmd(reporter, source_dir, parser):
197
"""Check that Rmd episode files include `source: Rmd`"""
0 commit comments