fix(app): do not crash when the browser translates the page (#2624)

This commit is contained in:
Hampus authored and GitHub committed 2026-09-09 01:24:14 +02:00
1 parent 044a2c101d
commit d729f641ff
83 files changed
+3774 -1080

No files matched your search

+3 -1
View File
@@ -39,6 +39,7 @@ enum Command {
Gateway(GatewayArgs),
Build,
Knip,
Lint,
Test,
Typecheck,
Proxy(ProxyArgs),
@@ -208,7 +209,7 @@ async fn main() -> Result<()> {
let cli = Cli::parse();
if !matches!(
cli.command,
Command::Build | Command::Knip | Command::Test | Command::Typecheck
Command::Build | Command::Knip | Command::Lint | Command::Test | Command::Typecheck
) {
apply_default_env()?;
}
@@ -226,6 +227,7 @@ async fn main() -> Result<()> {
}
Command::Build => std::process::exit(fluxer_dev::tasks::run_build()?),
Command::Knip => std::process::exit(fluxer_dev::tasks::run_knip()?),
Command::Lint => std::process::exit(fluxer_dev::tasks::run_lint()?),
Command::Test => std::process::exit(fluxer_dev::tasks::run_test()?),
Command::Typecheck => std::process::exit(fluxer_dev::tasks::run_typecheck()?),
Command::Proxy(args) => fluxer_dev::proxy::run_proxy(&args.host, args.port).await?,