Skip to content

Commit b0165d8

Browse files
authored
disable silent (#7)
1 parent 95c9880 commit b0165d8

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

dist/index.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28327,7 +28327,7 @@ function install_cf(version) {
2832728327
function setup_cf(api) {
2832828328
return __awaiter(this, void 0, void 0, function* () {
2832928329
try {
28330-
yield exec.exec("cf", ["api", api], { silent: true });
28330+
yield exec.exec("cf", ["api", api], { silent: false });
2833128331
core.info(">>> Successfully set CF API endpoint");
2833228332
}
2833328333
catch (error) {
@@ -28438,7 +28438,7 @@ function handleClientCredentials(client_id, client_secret) {
2843828438
if (!client_id || !client_secret) {
2843928439
throw new Error("Client Credentials authentication requires client_id and client_secret");
2844028440
}
28441-
yield exec.exec("cf", ["auth", client_id, client_secret, "--client-credentials"], { silent: true });
28441+
yield exec.exec("cf", ["auth", client_id, client_secret, "--client-credentials"], { silent: false });
2844228442
core.info(">>> Successfully authenticated using client credentials");
2844328443
});
2844428444
}
@@ -28448,7 +28448,7 @@ function handlePassword(username, password) {
2844828448
throw new Error("Password authentication requires username and password");
2844928449
}
2845028450
yield exec.exec("cf", ["auth", username, password], {
28451-
silent: true,
28451+
silent: false,
2845228452
});
2845328453
core.info(">>> Successfully authenticated using password");
2845428454
});

src/index.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ async function install_cf(version) {
4646

4747
async function setup_cf(api) {
4848
try {
49-
await exec.exec("cf", ["api", api], { silent: true });
49+
await exec.exec("cf", ["api", api], { silent: false });
5050
core.info(">>> Successfully set CF API endpoint");
5151
} catch (error) {
5252
throw new Error(
@@ -189,7 +189,7 @@ async function handleClientCredentials(client_id, client_secret) {
189189
await exec.exec(
190190
"cf",
191191
["auth", client_id, client_secret, "--client-credentials"],
192-
{ silent: true },
192+
{ silent: false },
193193
);
194194
core.info(">>> Successfully authenticated using client credentials");
195195
}
@@ -199,7 +199,7 @@ async function handlePassword(username, password) {
199199
throw new Error("Password authentication requires username and password");
200200
}
201201
await exec.exec("cf", ["auth", username, password], {
202-
silent: true,
202+
silent: false,
203203
});
204204
core.info(">>> Successfully authenticated using password");
205205
}

0 commit comments

Comments
 (0)