Fixup remaining import issues

Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
Sebastian Malton authored and Janne Savolainen committed 2023-03-10 09:39:24 +02:00
1 parent f8aa389930
commit a72f2005fc
71 files changed
+82 -81

No files matched your search

@@ -18,6 +18,8 @@ import getDirnameOfPathInjectable from "../../common/path/get-dirname.injectable
import joinPathsInjectable from "../../common/path/join-paths.injectable";
import getBasenameOfPathInjectable from "../../common/path/get-basename.injectable";
import loggerInjectable from "../../common/logger.injectable";
import execFileInjectable from "../../common/fs/exec-file.injectable";
import unlinkInjectable from "../../common/fs/unlink.injectable";
export type CreateKubectl = (version: string) => Kubectl;
@@ -39,6 +41,8 @@ const createKubectlInjectable = getInjectable({
getDirnameOfPath: di.inject(getDirnameOfPathInjectable),
joinPaths: di.inject(joinPathsInjectable),
getBasenameOfPath: di.inject(getBasenameOfPathInjectable),
execFile: di.inject(execFileInjectable),
unlink: di.inject(unlinkInjectable),
};
return (version) => new Kubectl(dependencies, version);