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

@@ -4,7 +4,6 @@
*/
import { getInjectable } from "@ogre-tools/injectable";
import type { JsonObject } from "type-fest";
import { json } from "@k8slens/utilities";
import yaml from "js-yaml";
import execFileWithInputInjectable from "./exec-file-with-input/exec-file-with-input.injectable";
import { getErrorMessage } from "../../../../../common/utils/get-error-message";
@@ -60,7 +59,7 @@ const callForKubeResourcesByManifestInjectable = getInjectable({
throw new Error(errorMessage);
}
const output = json.parse(result.response) as { items: JsonObject[] };
const output = JSON.parse(result.response) as { items: JsonObject[] };
return output.items;
};