1
0
mirror of https://github.com/lensapp/lens.git synced 2025-05-20 05:10:56 +00:00
lens/src/common/user-store/user-info.injectable.ts
Sebastian Malton a91e3a7f8e
Fix not using the users configured shell for sync (#6589)
* Fix not using the users configured shell for sync

Signed-off-by: Sebastian Malton <sebastian@malton.name>

* Fix issue with use of userShellSetting in ShellSessions

Signed-off-by: Sebastian Malton <sebastian@malton.name>

Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-11-17 10:15:56 -05:00

15 lines
397 B
TypeScript

/**
* Copyright (c) OpenLens Authors. All rights reserved.
* Licensed under MIT License. See LICENSE in root directory for more information.
*/
import { getInjectable } from "@ogre-tools/injectable";
import { userInfo } from "os";
const userInfoInjectable = getInjectable({
id: "user-info",
instantiate: () => userInfo(),
causesSideEffects: true,
});
export default userInfoInjectable;