From 07e48b8629f14315b56d571a93e492465e5c3a71 Mon Sep 17 00:00:00 2001 From: Mitchell Borrego Date: Tue, 26 Jul 2022 02:27:21 -0400 Subject: [PATCH] Add `verbose` guard --- src/buildExec.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/buildExec.ts b/src/buildExec.ts index 930862b..bc65f14 100644 --- a/src/buildExec.ts +++ b/src/buildExec.ts @@ -176,7 +176,9 @@ const buildExec = () => { uploaderVersion = 'latest'; } - console.debug({execArgs}); + if (verbose) { + console.debug({execArgs}); + } return {execArgs, options, failCi, os, uploaderVersion, verbose}; };