mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Fix syncing shell environment when using fish (#6502)
* Fix syncing shell environment when using fish - Add some better logging for the future Signed-off-by: Sebastian Malton <sebastian@malton.name> * Add some unit tests to codify assumptions Signed-off-by: Sebastian Malton <sebastian@malton.name> * Fix timeout Signed-off-by: Sebastian Malton <sebastian@malton.name> * Update tests Signed-off-by: Sebastian Malton <sebastian@malton.name> * Fix tests Signed-off-by: Sebastian Malton <sebastian@malton.name> * Fix handling of '' in env Signed-off-by: Sebastian Malton <sebastian@malton.name> * Add function description Signed-off-by: Sebastian Malton <sebastian@malton.name> Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
1 parent
974a79f895
commit
2370928ea7
8 files changed
+645
-60
No files matched your search
@@ -55,7 +55,8 @@ const setupShellInjectable = getInjectable({
|
||||
...process.env,
|
||||
};
|
||||
|
||||
logger.debug(`[SHELL-SYNC]: Synced shell env, and updating`, env, process.env);
|
||||
logger.info(`[SHELL-SYNC]: Synced shell env`);
|
||||
logger.debug(`[SHELL-SYNC]: updated env`, process.env);
|
||||
},
|
||||
};
|
||||
},
|
||||
|
||||
Reference in new issue
Block a user