[ty] Fix server version (#19284)

This commit is contained in:
Micha Reiser 2025-07-14 09:06:34 +02:00 committed by GitHub
parent 3cbf2fe82e
commit 3da8b51dc1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
8 changed files with 54 additions and 23 deletions

View file

@ -33,6 +33,7 @@ use ty_server::run_server;
pub fn run() -> anyhow::Result<ExitStatus> {
setup_rayon();
ruff_db::set_program_version(crate::version::version().to_string()).unwrap();
let args = wild::args_os();
let args = argfile::expand_args_from(args, argfile::parse_fromfile, argfile::PREFIX)