Fix env for dep_check & fix database printing if no changes

This commit is contained in:
2023-02-17 10:55:18 +00:00
parent 6b4de0b9b5
commit ad9708bffb
3 changed files with 5 additions and 1 deletions

View File

@ -96,6 +96,8 @@ def db_check_diff(current_pmodule_state, Pmodules_db_path, Pmodules_states):
print_pmodules_differences(
current_pmodule_state, old_pmodule_state, Pmodules_states, Pmodules_db_path
)
else:
print_to_asciidoc([], [], [], Pmodules_db_path)
# There is no database available or there are differences with the old pmodule state, writing current state.
if no_current_db or compare_states_sha(