Merge branch 'feat/additional-invite-links' into dev
This commit is contained in:
commit
ebb05ed9c1
2 changed files with 4 additions and 1 deletions
|
|
@ -147,9 +147,12 @@ sudo apt install -y clang mold pkg-config libssl-dev \
|
||||||
mise trust
|
mise trust
|
||||||
mise install # Install all dev tools
|
mise install # Install all dev tools
|
||||||
mise run install-e2e # Install Chrome for Testing + ChromeDriver
|
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
|
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
|
## Contributing
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
|
|
|
||||||
|
|
@ -83,7 +83,7 @@ pub async fn create_token(client: &BrewlogClient, cmd: CreateTokenCommand) -> Re
|
||||||
result = rx => {
|
result = rx => {
|
||||||
result.context("callback server closed without receiving a token")?
|
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)"));
|
return Err(anyhow!("timed out waiting for browser authentication (2 minutes)"));
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue