From 9059307ececc7da600f0fd8a34a0b10afa952772 Mon Sep 17 00:00:00 2001 From: Birk Johansson Date: Tue, 20 Apr 2021 11:37:24 +0200 Subject: [PATCH] fix: remove debug lines that spam logs (#460) --- server/src/utils/filters.js | 4 ---- 1 file changed, 4 deletions(-) diff --git a/server/src/utils/filters.js b/server/src/utils/filters.js index d842b4eaf..f8f522253 100644 --- a/server/src/utils/filters.js +++ b/server/src/utils/filters.js @@ -13,19 +13,15 @@ const filterAppsBySpecificDhis2Version = (apps, dhis2Version) => { const filteredApps = [] const dhis2Semver = semver.coerce(dhis2Version) - debug('dhis2Semver', dhis2Semver) for (let i = 0, n = apps.length; i < n; ++i) { const appRow = apps[i] const maxVersion = semver.coerce(appRow.max_dhis2_version) - debug('maxVersion', maxVersion) const maxVersionValid = semver.valid(maxVersion) - debug('maxVersionValid', maxVersionValid) const minVersion = semver.coerce(appRow.min_dhis2_version) - debug('minVersion', minVersion) if (maxVersionValid) { const maxPatch = maxVersion.patch === 0 ? '*' : maxVersion.patch