diff --git a/dist/index.js b/dist/index.js index 38436c0..afc2e16 100644 --- a/dist/index.js +++ b/dist/index.js @@ -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) { @@ -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"); }); } @@ -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"); }); diff --git a/src/index.ts b/src/index.ts index 90935b3..6645093 100755 --- a/src/index.ts +++ b/src/index.ts @@ -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( @@ -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"); } @@ -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"); }