[v2][log]: Add generic fern::Dispatch TargetKind to log (#2600)

* [v2][log]: Add generic fern::Dispatch TargetKind to log

Original: b691382d1e

* Add change file

* clippy

---------

Co-authored-by: Tony <legendmastertony@gmail.com>
Co-authored-by: venkr <venkateshrameshkumar+1@gmail.com>

Committed via a GitHub action: https://github.com/tauri-apps/plugins-workspace/actions/runs/14299333226

Co-authored-by: Legend-Master <Legend-Master@users.noreply.github.com>
This commit is contained in:
TATSUNO “Taz” Yasuhiro
2025-04-07 02:14:15 +00:00
committed by tauri-bot
parent 99c0aadf5a
commit 9bd561afc6
2 changed files with 3 additions and 3 deletions

View File

@@ -355,10 +355,10 @@
"markdownDescription": "Denies the stdin_write command without any pre-configured scope."
},
{
"description": "This permission set configures which\nshell functionality is exposed by default.\n\n#### Granted Permissions\n\nIt allows to use the `open` functionality with a reasonable\nscope pre-configured. It will allow opening `http(s)://`,\n`tel:` and `mailto:` links.\n",
"description": "This permission set configures which\nshell functionality is exposed by default.\n\n#### Granted Permissions\n\nIt allows to use the `open` functionality with a reasonable\nscope pre-configured. It will allow opening `http(s)://`,\n`tel:` and `mailto:` links.\n\n#### This default permission set includes:\n\n- `allow-open`",
"type": "string",
"const": "default",
"markdownDescription": "This permission set configures which\nshell functionality is exposed by default.\n\n#### Granted Permissions\n\nIt allows to use the `open` functionality without any specific\nscope pre-configured. It will allow opening `http(s)://`,\n`tel:` and `mailto:` links.\n\n#### This default permission set includes:\n\n- `allow-open`"
"markdownDescription": "This permission set configures which\nshell functionality is exposed by default.\n\n#### Granted Permissions\n\nIt allows to use the `open` functionality with a reasonable\nscope pre-configured. It will allow opening `http(s)://`,\n`tel:` and `mailto:` links.\n\n#### This default permission set includes:\n\n- `allow-open`"
}
]
}

View File

@@ -304,7 +304,7 @@ impl ShellScope<'_> {
.map(|s| {
std::path::PathBuf::from(s)
.components()
.last()
.next_back()
.unwrap()
.as_os_str()
.to_string_lossy()