1
0
mirror of https://github.com/lensapp/lens.git synced 2025-05-20 05:10:56 +00:00
lens/src/common/vars/node-version.injectable.ts
Sebastian Malton ef6a424ec2 Make showAbout injectable, add test
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-04-28 16:02:24 -04:00

14 lines
386 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";
const nodeVersionInjectable = getInjectable({
id: "node-version",
instantiate: () => process.versions.node,
causesSideEffects: true,
});
export default nodeVersionInjectable;