Added channel to database directories

This commit is contained in:
Mikayla Maki 2022-10-28 11:50:26 -07:00
parent 950626fe9e
commit c0bf8fd6a8
3 changed files with 11 additions and 7 deletions

View file

@ -71,7 +71,7 @@ actions!(
const MIN_FONT_SIZE: f32 = 6.0;
lazy_static! {
static ref RELEASE_CHANNEL_NAME: String =
pub static ref RELEASE_CHANNEL_NAME: String =
env::var("ZED_RELEASE_CHANNEL").unwrap_or(include_str!("../RELEASE_CHANNEL").to_string());
pub static ref RELEASE_CHANNEL: ReleaseChannel = match RELEASE_CHANNEL_NAME.as_str() {
"dev" => ReleaseChannel::Dev,