diff --git a/src/diff.ts b/src/diff.ts index 7deb09e35..75a5450dd 100644 --- a/src/diff.ts +++ b/src/diff.ts @@ -9,6 +9,7 @@ import {validateManifest} from './util/validations'; import {CONFIG} from './config'; import {logger} from './util/logger'; +import {debugLogger} from './util/debug-logger'; const {IF_DIFF} = CONFIG; const {SUCCESS_MESSAGE, FAILURE_MESSAGE} = IF_DIFF; @@ -16,6 +17,9 @@ const {SUCCESS_MESSAGE, FAILURE_MESSAGE} = IF_DIFF; const IfDiff = async () => { const {sourcePath, targetPath} = parseIfDiffArgs(); + // Call this function with false parameter to prevent log debug messages. + debugLogger.overrideConsoleMethods(false); + const {rawSourceManifest, rawTargetManifest} = await loadIfDiffFiles({ targetPath, sourcePath,