Skip to content

Commit dafcaa3

Browse files
committed
simplify permissions
1 parent f1b36c6 commit dafcaa3

1 file changed

Lines changed: 1 addition & 15 deletions

File tree

deno.json

Lines changed: 1 addition & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -19,20 +19,6 @@
1919
"write": [
2020
"./src/dictionary/global_dictionary.ts"
2121
]
22-
},
23-
"soft-build-dictionary": {
24-
"env": [
25-
"NO_COLOR",
26-
"DEBUG_TAGS",
27-
"DEBUG_CHUNKS"
28-
],
29-
"read": [
30-
"./dictionary.txt",
31-
"./src/"
32-
],
33-
"write": [
34-
"./src/dictionary/global_dictionary.ts"
35-
]
3622
}
3723
},
3824
"tasks": {
@@ -63,7 +49,7 @@
6349
},
6450
"soft-build-dictionary": {
6551
"description": "Only builds the dictionary at `./src/dictionary/global_dictionary.ts` when it doesn't exists. When an error occurs, an empty dictionary is provided.",
66-
"command": "deno run --permission-set=soft-build-dictionary --no-prompt --frozen --cached-only ./src/dictionary/soft-build.ts"
52+
"command": "deno run --permission-set=build-dictionary --no-prompt --frozen --cached-only ./src/dictionary/soft-build.ts"
6753
}
6854
},
6955
"fmt": {

0 commit comments

Comments
 (0)