Skip to content

Commit a223bfc

Browse files
committed
Hides all push details in logStartupOptions unless we're in verbose mode
1 parent aea1399 commit a223bfc

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

src/cli/utils/runner.js

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,8 @@ function logStartupOptions(options) {
66
if (key == 'masterKey') {
77
value = '***REDACTED***';
88
}
9-
if (key == 'push') {
10-
if (Buffer.isBuffer(value.ios.token.key)) {
11-
value.ios.token.key = '***REDACTED***';
12-
}
9+
if (key == 'push' && process.env.VERBOSE != true) {
10+
value = '***REDACTED***';
1311
}
1412
if (typeof value === 'object') {
1513
try {

0 commit comments

Comments
 (0)