style(js): Object.hasOwn()
This commit is contained in:
parent
18c87cfcb4
commit
7cb3cd0567
|
@ -133,7 +133,7 @@ const f = async () => {
|
|||
|
||||
const oisd = async () => {
|
||||
await mkdir(publicPath, { recursive: true })
|
||||
if (Object.hawown(envVar, 'CI_PROJECT_PATH') && envVar.CI_PROJECT_PATH === 'malware-filter/malware-filter') {
|
||||
if (Object.hasOwn(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) }))
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue