fix: correct typos in get-start-date error messages#3980
Merged
louis030195 merged 1 commit intoJun 11, 2026
Conversation
Two error-message strings in getStartDate had typos: - "error occured" -> "error occurred" - "errro occured" -> "an error occurred" Also add the source-file header required by the repo's CLAUDE.md, which this file was missing (sibling files in lib/actions/ already carry it). Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
description
fixes two typos in error-message strings returned by
getStartDate()(apps/screenpipe-app-tauri/lib/actions/get-start-date.ts):"error occured while getting data"→"error occurred while getting data""errro occured"→"an error occurred"also adds the source-file header required by the repo's
CLAUDE.md, which this file was missing (sibling files inlib/actions/, e.g.has-frames-date.ts, already carry it).related issue: n/a (trivial typo fix, no issue filed)
before
n/a — the strings only surface in the function's error return value, no visible UI change to record. before:
"error occured while getting data"/"errro occured".after
after:
"error occurred while getting data"/"an error occurred".how to test
grep -n "occured\|errro" apps/screenpipe-app-tauri/lib/actions/get-start-date.ts→ no matchescd apps/screenpipe-app-tauri && bunx --bun @biomejs/biome check lib/actions/get-start-date.ts→ passescd apps/screenpipe-app-tauri && bun run typecheck→ passesdesktop app checklist (if applicable)
no
#[tauri::command]handlers or exported Rust types touched (string literals + comment header only):bun run bindings:generate— n/a (no binding changes)bun run bindings:check— n/a (no binding changes)bun run typecheck🤖 Generated with Claude Code