add version check

This commit is contained in:
Mikayla Maki
2023-05-31 14:16:37 -07:00
parent b875d4ed40
commit 705e36827c
3 changed files with 10 additions and 5 deletions
-2
View File
@@ -2,8 +2,6 @@ use std::env;
use lazy_static::lazy_static;
pub struct ZedVersion(pub &'static str);
lazy_static! {
pub static ref RELEASE_CHANNEL_NAME: String = if cfg!(debug_assertions) {
env::var("ZED_RELEASE_CHANNEL")