chore(shell): change schema property name command to cmd (#1069)

* chore: fix shell plugin `command` property in schema

* chore: add changelog
This commit is contained in:
Jason Tsai authored and GitHub committed 2024-03-12 15:20:56 +02:00
1 parent 69d45a06a6
commit 040004a6b9
2 files changed
+6

No files matched your search

@@ -0,0 +1,5 @@
---
"shell": "patch"
---
Change shell's schema property name `command` to `cmd`.
+1
View File
@@ -22,6 +22,7 @@ pub struct Entry {
/// `$TEMPLATE`, `$VIDEO`, `$RESOURCE`, `$APP`, `$LOG`, `$TEMP`, `$APPCONFIG`, `$APPDATA`, /// `$TEMPLATE`, `$VIDEO`, `$RESOURCE`, `$APP`, `$LOG`, `$TEMP`, `$APPCONFIG`, `$APPDATA`,
/// `$APPLOCALDATA`, `$APPCACHE`, `$APPLOG`. /// `$APPLOCALDATA`, `$APPCACHE`, `$APPLOG`.
// use default just so the schema doesn't flag it as required // use default just so the schema doesn't flag it as required
#[serde(rename = "cmd")]
pub command: PathBuf, pub command: PathBuf,
/// The allowed arguments for the command execution. /// The allowed arguments for the command execution.