diff --git a/README.md b/README.md index afd3f08..19fe571 100644 --- a/README.md +++ b/README.md @@ -147,9 +147,12 @@ sudo apt install -y clang mold pkg-config libssl-dev \ mise trust mise install # Install all dev tools mise run install-e2e # Install Chrome for Testing + ChromeDriver +uv tool install prek # Install prek (git hook runner) as a standalone tool prek install # Install git hooks ``` +> **Note:** `prek` is a standalone binary installed via [`uv`](https://docs.astral.sh/uv/) and must be on `PATH`. If it is missing, `prek run -av` cannot invoke `cargo fmt -- --check` and reports `failed to run cargo fmt -- --check` — this is the missing `prek`/toolchain, not a formatting error. Installing `prek` resolves it. + ## Contributing ```bash diff --git a/src/presentation/cli/tokens.rs b/src/presentation/cli/tokens.rs index ed38b30..008ce8e 100644 --- a/src/presentation/cli/tokens.rs +++ b/src/presentation/cli/tokens.rs @@ -83,7 +83,7 @@ pub async fn create_token(client: &BrewlogClient, cmd: CreateTokenCommand) -> Re result = rx => { result.context("callback server closed without receiving a token")? } - () = tokio::time::sleep(std::time::Duration::from_secs(120)) => { + () = tokio::time::sleep(std::time::Duration::from_mins(2)) => { return Err(anyhow!("timed out waiting for browser authentication (2 minutes)")); } };