mirror of
https://github.com/natelandau/obsidian-metadata.git
synced 2025-11-18 09:53:40 -05:00
fix: exit after committing changes
This commit is contained in:
@@ -5,6 +5,7 @@ from pathlib import Path
|
|||||||
from typing import Any
|
from typing import Any
|
||||||
|
|
||||||
import questionary
|
import questionary
|
||||||
|
import typer
|
||||||
from rich import box
|
from rich import box
|
||||||
from rich.table import Table
|
from rich.table import Table
|
||||||
|
|
||||||
@@ -393,7 +394,7 @@ class Application:
|
|||||||
|
|
||||||
if not self.dry_run:
|
if not self.dry_run:
|
||||||
alerts.success(f"{len(changed_notes)} changes committed to disk. Exiting")
|
alerts.success(f"{len(changed_notes)} changes committed to disk. Exiting")
|
||||||
return True
|
raise typer.Exit(0)
|
||||||
|
|
||||||
return True
|
return True
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user