diff --git a/src/build.js b/src/build.js index 4bd7bba..034bbf5 100644 --- a/src/build.js +++ b/src/build.js @@ -133,7 +133,7 @@ const f = async () => { const oisd = async () => { await mkdir(publicPath, { recursive: true }) - if (Object.prototype.hasOwnProperty.call(envVar, 'CI_PROJECT_PATH') && envVar.CI_PROJECT_PATH === 'malware-filter/malware-filter') { + if (Object.hawown(envVar, 'CI_PROJECT_PATH') && envVar.CI_PROJECT_PATH === 'malware-filter/malware-filter') { await Promise.all(Object.entries(oisdFilters).map(([link, filename]) => { return oisdDl(link, filename) })) } }