Skip to content

Commit

Permalink
chore: fix duplicate errors.ts (#2448)
Browse files Browse the repository at this point in the history
Duplicate "if" in error message description.

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on improving documentation clarity and correcting a
comment in the codebase.

### Detailed summary
- Updated the wording in `monitoring.md` to change "writeable" to
"writable".
- Corrected a comment in `errors.ts` by removing the redundant "if" in
"if if error message".

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your
question}`

<!-- end pr-codex -->
  • Loading branch information
futreall authored Jan 9, 2025
1 parent 01418ea commit 5602bf1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion apps/hubble/www/docs/intro/monitoring.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,4 @@ yarn start --statsd-metrics-server 127.0.0.1:8125

## Troubleshooting

- Make sure that the `grafana/data` directory is writeable to all users.
- Make sure that the `grafana/data` directory is writable to all users.
2 changes: 1 addition & 1 deletion packages/core/src/errors.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ export class HubError extends Error {
/* Hub classification of error types */
public readonly errCode: HubErrorCode;

/* Indicates if if error message can be presented to the user */
/* Indicates if error message can be presented to the user */
public readonly presentable: boolean = false;

/**
Expand Down

0 comments on commit 5602bf1

Please sign in to comment.