File tree Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -15,12 +15,8 @@ pub fn is_unstable() -> bool {
1515 VERSION == "0.0.0"
1616}
1717
18- /// The internal version of Postgres Language Server. This is usually supplied during the CI build
19- pub static PGLS_VERSION : LazyLock < Option < & str > > =
20- LazyLock :: new ( || option_env ! ( "PGLS_VERSION" ) . or ( option_env ! ( "PGT_VERSION" ) ) ) ;
21-
22- /// The version of Postgres Tools with fallback logic
23- pub const VERSION : & str = match option_env ! ( "PGT_VERSION" ) {
18+ /// The version of Postgres Language Server. This is usually supplied during the CI build
19+ pub const VERSION : & str = match option_env ! ( "PGLS_VERSION" ) . or ( option_env ! ( "PGT_VERSION" ) ) {
2420 Some ( version) => version,
2521 None => match option_env ! ( "CARGO_PKG_VERSION" ) {
2622 Some ( pkg_version) => pkg_version,
You can’t perform that action at this time.
0 commit comments