From dc972b39191be97b57663de9f5db8ba3e90dde90 Mon Sep 17 00:00:00 2001 From: David Sanders Date: Mon, 6 Feb 2023 13:07:45 -0800 Subject: [PATCH] chore: remove old script code for ATOM_SHELL_ (#37140) The TODO is from 2016, seems like it's time --- script/lib/config.py | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/script/lib/config.py b/script/lib/config.py index eaa5f5ac697c..2d1a5d95fdf7 100644 --- a/script/lib/config.py +++ b/script/lib/config.py @@ -31,14 +31,7 @@ def get_target_arch(): def get_env_var(name): - value = os.environ.get('ELECTRON_' + name, '') - if not value: - # TODO Remove ATOM_SHELL_* fallback values - value = os.environ.get('ATOM_SHELL_' + name, '') - if value: - print('Warning: Use $ELECTRON_' + name + - ' instead of $ATOM_SHELL_' + name) - return value + return os.environ.get('ELECTRON_' + name, '') def enable_verbose_mode():