tmex-cli 0.2.5 → 0.2.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/runtime/server.js +9 -6
- package/package.json +1 -1
package/dist/runtime/server.js
CHANGED
|
@@ -52009,13 +52009,16 @@ function getLocalShellPath() {
|
|
|
52009
52009
|
return defaultLocalShellPathCache.get();
|
|
52010
52010
|
}
|
|
52011
52011
|
function buildLocalTmuxEnv(resolvedPath, baseEnv = process.env) {
|
|
52012
|
-
|
|
52013
|
-
|
|
52014
|
-
}
|
|
52015
|
-
return {
|
|
52016
|
-
...baseEnv,
|
|
52017
|
-
PATH: resolvedPath
|
|
52012
|
+
const nextEnv = {
|
|
52013
|
+
...baseEnv
|
|
52018
52014
|
};
|
|
52015
|
+
if (resolvedPath) {
|
|
52016
|
+
nextEnv.PATH = resolvedPath;
|
|
52017
|
+
}
|
|
52018
|
+
if (!nextEnv.LC_CTYPE && !nextEnv.LC_ALL && !nextEnv.LANG) {
|
|
52019
|
+
nextEnv.LC_CTYPE = "en_US.UTF-8";
|
|
52020
|
+
}
|
|
52021
|
+
return nextEnv;
|
|
52019
52022
|
}
|
|
52020
52023
|
|
|
52021
52024
|
// ../../apps/gateway/src/tmux/ssh-auth.ts
|