Update to node20 and dependencies bump

Signed-off-by: divyansh42 <diagrawa@redhat.com>
This commit is contained in:
divyansh42 2024-03-16 22:18:33 +05:30
parent bcf6f9c330
commit 1cfc5d852e
11 changed files with 1391 additions and 1310 deletions

View file

@ -70,5 +70,5 @@ export async function execute(
export async function getDockerConfigJson(): Promise<string> {
const dockerConfigPath = path.join(os.homedir(), ".docker", "config.json");
return fs.readFile(dockerConfigPath, "utf-8")
.catch((err) => { if (err.code === 'ENOENT') { return '{"auths":{}}'; } throw err; });
.catch((err) => { if (err.code === "ENOENT") { return `{"auths":{}}`; } throw err; });
}