diff --git a/src/utils/lm/requirements.js b/src/utils/lm/requirements.js index dd62bf6c0c4..955f3e28ede 100644 --- a/src/utils/lm/requirements.js +++ b/src/utils/lm/requirements.js @@ -4,7 +4,7 @@ const semver = require('semver') const checkLFSFilters = async function () { try { const result = await execa('git', ['config', '--get-regexp', 'filter.lfs']) - return result.stdout.length > 0 + return result.stdout.length !== 0 } catch (error) { return false }