Skip to content

Commit c54e4f6

Browse files
committed
Add change file
1 parent dc14b10 commit c54e4f6

File tree

3 files changed

+9
-3
lines changed

3 files changed

+9
-3
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
log: minor
3+
log-js: minor
4+
---
5+
6+
Adds a new varient `TargetKind::Dispatch` that allows you to construct arbitrary log targets

plugins/log/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ pub enum TargetKind {
170170
///
171171
/// This requires the webview to subscribe to log events, via this plugins `attachConsole` function.
172172
Webview,
173-
/// Send logs to a fern::Dispatch
173+
/// Send logs to a [`fern::Dispatch`]
174174
///
175175
/// You can use this to construct arbitrary log targets.
176176
Dispatch(fern::Dispatch),

plugins/shell/permissions/schemas/schema.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -355,10 +355,10 @@
355355
"markdownDescription": "Denies the stdin_write command without any pre-configured scope."
356356
},
357357
{
358-
"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",
358+
"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`",
359359
"type": "string",
360360
"const": "default",
361-
"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`"
361+
"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`"
362362
}
363363
]
364364
}

0 commit comments

Comments
 (0)