Skip to content

Commit

Permalink
disable silent (#7)
Browse files Browse the repository at this point in the history
  • Loading branch information
vchrisb authored Dec 5, 2024
1 parent 95c9880 commit b0165d8
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -28327,7 +28327,7 @@ function install_cf(version) {
function setup_cf(api) {
return __awaiter(this, void 0, void 0, function* () {
try {
yield exec.exec("cf", ["api", api], { silent: true });
yield exec.exec("cf", ["api", api], { silent: false });
core.info(">>> Successfully set CF API endpoint");
}
catch (error) {
Expand Down Expand Up @@ -28438,7 +28438,7 @@ function handleClientCredentials(client_id, client_secret) {
if (!client_id || !client_secret) {
throw new Error("Client Credentials authentication requires client_id and client_secret");
}
yield exec.exec("cf", ["auth", client_id, client_secret, "--client-credentials"], { silent: true });
yield exec.exec("cf", ["auth", client_id, client_secret, "--client-credentials"], { silent: false });
core.info(">>> Successfully authenticated using client credentials");
});
}
Expand All @@ -28448,7 +28448,7 @@ function handlePassword(username, password) {
throw new Error("Password authentication requires username and password");
}
yield exec.exec("cf", ["auth", username, password], {
silent: true,
silent: false,
});
core.info(">>> Successfully authenticated using password");
});
Expand Down
6 changes: 3 additions & 3 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ async function install_cf(version) {

async function setup_cf(api) {
try {
await exec.exec("cf", ["api", api], { silent: true });
await exec.exec("cf", ["api", api], { silent: false });
core.info(">>> Successfully set CF API endpoint");
} catch (error) {
throw new Error(
Expand Down Expand Up @@ -189,7 +189,7 @@ async function handleClientCredentials(client_id, client_secret) {
await exec.exec(
"cf",
["auth", client_id, client_secret, "--client-credentials"],
{ silent: true },
{ silent: false },
);
core.info(">>> Successfully authenticated using client credentials");
}
Expand All @@ -199,7 +199,7 @@ async function handlePassword(username, password) {
throw new Error("Password authentication requires username and password");
}
await exec.exec("cf", ["auth", username, password], {
silent: true,
silent: false,
});
core.info(">>> Successfully authenticated using password");
}
Expand Down

0 comments on commit b0165d8

Please sign in to comment.