chore: remove old script code for ATOM_SHELL_ (#37140)

The TODO is from 2016, seems like it's time
This commit is contained in:
David Sanders 2023-02-06 13:07:45 -08:00 committed by GitHub
parent 67dc178e70
commit dc972b3919
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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():