mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-08-02 14:57:31 +03:00
Per PR review feedback, this is the more "ziggy" way of doing the check for environment variable.
This commit is contained in:

committed by
Mitchell Hashimoto

parent
f239df59ca
commit
a111b3f96f
@ -733,7 +733,7 @@ const Subprocess = struct {
|
||||
}
|
||||
|
||||
// Unset environment varies set by the snap
|
||||
if (env.get("SNAP") != null) {
|
||||
if (env.get("SNAP")) |_| {
|
||||
env.remove("SNAP");
|
||||
env.remove("DRIRC_CONFIGDIR");
|
||||
env.remove("__EGL_EXTERNAL_PLATFORM_CONFIG_DIRS");
|
||||
|
Reference in New Issue
Block a user