Skip to content

Commit

Permalink
chore: update
Browse files Browse the repository at this point in the history
  • Loading branch information
Himenon committed Feb 4, 2024
1 parent 5555198 commit 8d0af3b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
7 changes: 5 additions & 2 deletions biome.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,15 @@
"linter": {
"enabled": true,
"rules": {
"recommended": true
"recommended": true,
"complexity": {
"noForEach": "off"
}
}
},
"files": {
"ignoreUnknown": true,
"ignore": ["dist"]
"ignore": ["dist", "src/__tests__"]
},
"javascript": {
"formatter": {
Expand Down
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ export class Parser {
this.params.messageItems.forEach(({ command }) => {
const matched = command.match(/^(?<action>\w+)/);
if (matched) {
const action = (matched.groups || {}).action;
const action = matched.groups?.action;
action && actions.push(action);
}
});
Expand Down

0 comments on commit 8d0af3b

Please sign in to comment.