Check the correct verbose field when hiding push details (#5324)

This commit is contained in:
Darren Black
2019-01-27 21:35:33 +01:00
committed by Florent Vilmart
parent 6a93806c62
commit 55d367ec03

View File

@@ -6,7 +6,7 @@ function logStartupOptions(options) {
if (key == 'masterKey') {
value = '***REDACTED***';
}
if (key == 'push' && process.env.VERBOSE != true) {
if (key == 'push' && options.verbose != true) {
value = '***REDACTED***';
}
if (typeof value === 'object') {