Skip to content

Commit 790a9cc

Browse files
authored
Merge pull request #26 from biochimia/patch-2
Fix spelling of 'fallback_to_build_date' in logs
2 parents a5a6639 + 784a51e commit 790a9cc

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
@@ -92,12 +92,12 @@ def get_revision_date_for_file(
9292
logging.warning(
9393
"Unable to read git logs of '%s'."
9494
" Is git log readable?"
95-
" Option 'ignoring_missing_git' enabled: so keep building..." % path
95+
" Option 'fallback_to_build_date' enabled: so keep building..." % path
9696
)
9797
else:
9898
logging.error(
9999
"Unable to read git logs of '%s'. "
100-
"To ignore this error, set option 'ignoring_missing_git: true'"
100+
"To ignore this error, set option 'fallback_to_build_date: true'"
101101
% path
102102
)
103103
raise err
@@ -106,12 +106,12 @@ def get_revision_date_for_file(
106106
unix_timestamp = None
107107
logging.warning(
108108
"Unable to perform command: git log. Is git installed?"
109-
" Option 'ignoring_missing_git' enabled: so keep building..."
109+
" Option 'fallback_to_build_date' enabled: so keep building..."
110110
)
111111
else:
112112
logging.error(
113113
"Unable to perform command: git log. Is git installed?"
114-
"To ignore this error, set option 'ignoring_missing_git: true'"
114+
"To ignore this error, set option 'fallback_to_build_date: true'"
115115
)
116116
raise err
117117

0 commit comments

Comments
 (0)