Skip to content

Commit 97507d4

Browse files
authored
Slightly update example scopes in file-system plugin docs
1 parent 4942d9b commit 97507d4

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/content/docs/plugin/file-system.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -693,7 +693,7 @@ To apply a scope to any `fs` command, use the `fs:scope` permission:
693693
"permissions": [
694694
{
695695
"identifier": "fs:scope",
696-
"allow": [{ "path": "$APPDATA" }, { "path": "$APPDATA/**" }]
696+
"allow": [{ "path": "$APPDATA" }, { "path": "$APPDATA/**/*" }]
697697
}
698698
]
699699
}
@@ -711,11 +711,11 @@ use the the object form of permissions `{ "identifier": string, "allow"?: [], "d
711711
"permissions": [
712712
{
713713
"identifier": "fs:allow-rename",
714-
"allow": [{ "path": "$HOME/**" }]
714+
"allow": [{ "path": "$HOME/**/*" }]
715715
},
716716
{
717717
"identifier": "fs:allow-rename",
718-
"deny": [{ "path": "$HOME/.config/**" }]
718+
"deny": [{ "path": "$HOME/.config/**/*" }]
719719
},
720720
{
721721
"identifier": "fs:allow-exists",

0 commit comments

Comments
 (0)