Skip to content

Commit

Permalink
chore: fix types
Browse files Browse the repository at this point in the history
  • Loading branch information
glebbash authored Jan 23, 2025
1 parent 69da6b0 commit f7e6a72
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ export abstract class CredentialProvider implements RegistryAuthLocator {
exec(`${providerName} list`, (err, stdout, stderr) => {
if (err) {
if (stderr === "list is unimplemented\n") {
return resolve([]);
return resolve([] as CredentialProviderListResponse);
}

log.error(`An error occurred listing credentials: ${err}`);
Expand Down

0 comments on commit f7e6a72

Please sign in to comment.