Merge commit from fork

* fix(shell): properly validate open scope

* change empty regex to an impossible match

---------

Co-authored-by: Lucas Nogueira <lucas@tauri.app>
Co-authored-by: Chip Reed <chip@chip.sh>
This commit is contained in:
Tillmann
2025-04-02 12:24:25 +09:00
committed by GitHub
parent 4dd5c51436
commit 9cf0390a52
11 changed files with 44 additions and 11 deletions
+1 -1
View File
@@ -311,5 +311,5 @@ pub async fn open<R: Runtime>(
path: String,
with: Option<Program>,
) -> crate::Result<()> {
shell.open(path, with)
crate::open::open(Some(&shell.open_scope), path, with)
}