Skip to content

Commit 784a51e

Browse files
authored
Fix spelling of 'fallback_to_build_date' in logs
1 parent ad38384 commit 784a51e

File tree

1 file changed

+4
-4
lines changed
  • mkdocs_git_revision_date_localized_plugin

1 file changed

+4
-4
lines changed

mkdocs_git_revision_date_localized_plugin/util.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -91,12 +91,12 @@ def get_revision_date_for_file(
9191
logging.warning(
9292
"Unable to read git logs of '%s'."
9393
" Is git log readable?"
94-
" Option 'ignoring_missing_git' enabled: so keep building..." % path
94+
" Option 'fallback_to_build_date' enabled: so keep building..." % path
9595
)
9696
else:
9797
logging.error(
9898
"Unable to read git logs of '%s'. "
99-
"To ignore this error, set option 'ignoring_missing_git: true'"
99+
"To ignore this error, set option 'fallback_to_build_date: true'"
100100
% path
101101
)
102102
raise err
@@ -105,12 +105,12 @@ def get_revision_date_for_file(
105105
unix_timestamp = None
106106
logging.warning(
107107
"Unable to perform command: git log. Is git installed?"
108-
" Option 'ignoring_missing_git' enabled: so keep building..."
108+
" Option 'fallback_to_build_date' enabled: so keep building..."
109109
)
110110
else:
111111
logging.error(
112112
"Unable to perform command: git log. Is git installed?"
113-
"To ignore this error, set option 'ignoring_missing_git: true'"
113+
"To ignore this error, set option 'fallback_to_build_date: true'"
114114
)
115115
raise err
116116

0 commit comments

Comments
 (0)