diff options
| author | Yaroslav Halchenko <debian@onerussian.com> | 2024-04-05 16:51:57 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-04-05 15:51:57 +0100 |
| commit | 28b0b490f93fe9f7964d0593b9ba600f4b24663e (patch) | |
| tree | 628f48458d142f61aa70192fa2b36778846fb3ca /atuin-server/src/handlers | |
| parent | perf(dotfiles): cache aliases and read straight from file (#1918) (diff) | |
| download | atuin-28b0b490f93fe9f7964d0593b9ba600f4b24663e.zip | |
chore(ci): Add codespell support (config, workflow) and make it fix some typos (#1916)
* Add github action to codespell main on push and PRs
* Add rudimentary codespell config
* ignore crate, inbetween etc
* [DATALAD RUNCMD] run codespell throughout fixing typo automagically but ignoring the failure due to ambigous typos
=== Do not change lines below ===
{
"chain": [],
"cmd": "codespell -w || :",
"exit": 0,
"extra_inputs": [],
"inputs": [],
"outputs": [],
"pwd": "."
}
^^^ Do not change lines above ^^^
* [DATALAD RUNCMD] Do interactive fixing of leftover ambigous typos
=== Do not change lines below ===
{
"chain": [],
"cmd": "codespell -w -i 3 -C 2",
"exit": 0,
"extra_inputs": [],
"inputs": [],
"outputs": [],
"pwd": "."
}
^^^ Do not change lines above ^^^
Diffstat (limited to 'atuin-server/src/handlers')
| -rw-r--r-- | atuin-server/src/handlers/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/atuin-server/src/handlers/mod.rs b/atuin-server/src/handlers/mod.rs index a10e622d..50f82336 100644 --- a/atuin-server/src/handlers/mod.rs +++ b/atuin-server/src/handlers/mod.rs @@ -16,7 +16,7 @@ pub async fn index<DB: Database>(state: State<AppState<DB>>) -> Json<IndexRespon let homage = r#""Through the fathomless deeps of space swims the star turtle Great A'Tuin, bearing on its back the four giant elephants who carry on their shoulders the mass of the Discworld." -- Sir Terry Pratchett"#; // Error with a -1 response - // It's super unlikley this will happen + // It's super unlikely this will happen let count = state.database.total_history().await.unwrap_or(-1); Json(IndexResponse { |
