Skip to content

Commit

Permalink
chore(shell): change schema property name command to cmd (#1069)
Browse files Browse the repository at this point in the history
* chore: fix shell plugin `command` property in schema

* chore: add changelog
  • Loading branch information
pewsheen authored Mar 12, 2024
1 parent 69d45a0 commit 040004a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changes/shell-fix-schema-command-property-name.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"shell": "patch"
---

Change shell's schema property name `command` to `cmd`.
1 change: 1 addition & 0 deletions plugins/shell/src/scope_entry.rs
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ pub struct Entry {
/// `$TEMPLATE`, `$VIDEO`, `$RESOURCE`, `$APP`, `$LOG`, `$TEMP`, `$APPCONFIG`, `$APPDATA`,
/// `$APPLOCALDATA`, `$APPCACHE`, `$APPLOG`.
// use default just so the schema doesn't flag it as required
#[serde(rename = "cmd")]
pub command: PathBuf,

/// The allowed arguments for the command execution.
Expand Down

0 comments on commit 040004a

Please sign in to comment.