Fix for a runtime directory error when the "create" action is used with the "--log-json" flag (#1150).

This commit is contained in:
Dan Helfman
2025-10-15 10:35:16 -07:00
parent dea1c0179b
commit b80d126424
2 changed files with 7 additions and 1 deletions
+2
View File
@@ -1,6 +1,8 @@
2.0.10.dev0
* #942: Factor reference material out of the documentation how-to guides. This means there's now a
whole reference section in the docs! Check it out: https://torsion.org/borgmatic/
* #1150: Fix for a runtime directory error when the "create" action is used with the "--log-json"
flag.
* #1161: Fix a traceback (TypeError) in the "check" action with Python 3.14.
* Add documentation search.
* Change the URL of the local documentation development server to be more like the production URL.
+5 -1
View File
@@ -72,7 +72,11 @@ def validate_planned_backup_paths(
paths_output = execute_command_and_capture_output(
(
*flags.omit_flag_and_value(
flags.omit_flag(create_command, '--exclude-nodump'), '--filter'
flags.omit_flag(
flags.omit_flag(create_command, '--exclude-nodump'),
'--log-json',
),
'--filter',
),
'--dry-run',
'--list',