mirror of
https://github.com/lensapp/lens.git
synced 2024-09-11 09:25:26 +03:00
chore: Introduce utility function to prepend strings
Co-authored-by: Janne Savolainen <janne.savolainen@live.fi> Signed-off-by: Iku-turso <mikko.aspiala@gmail.com>
This commit is contained in:
parent
7ca54d8f07
commit
bba0759d27
6
packages/core/src/common/k8s-api/prepend.ts
Normal file
6
packages/core/src/common/k8s-api/prepend.ts
Normal file
@ -0,0 +1,6 @@
|
||||
/**
|
||||
* Copyright (c) OpenLens Authors. All rights reserved.
|
||||
* Licensed under MIT License. See LICENSE in root directory for more information.
|
||||
*/
|
||||
export const prepend = (prependWith: string) => (what: string) =>
|
||||
`${prependWith}${what}`;
|
Loading…
Reference in New Issue
Block a user