mirror of
https://github.com/redhat-actions/podman-login.git
synced 2025-06-08 06:31:12 +00:00
Update to node20 and dependencies bump
Signed-off-by: divyansh42 <diagrawa@redhat.com>
This commit is contained in:
parent
bcf6f9c330
commit
1cfc5d852e
11 changed files with 1391 additions and 1310 deletions
|
@ -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; });
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue