mirror of
https://github.com/zero-peak/ZeroOmega.git
synced 2025-01-22 15:08:12 -05:00
Merge pull request #101 from LeeXiaolan/empty-bypass-list-bug
Bugfix: Export pac from a FixedProfile without bypass list do not work.
This commit is contained in:
commit
f42ae975a7
@ -253,7 +253,7 @@ module.exports = exports =
|
|||||||
body = [
|
body = [
|
||||||
new U2.AST_Directive value: 'use strict'
|
new U2.AST_Directive value: 'use strict'
|
||||||
]
|
]
|
||||||
if profile.bypassList
|
if profile.bypassList and profile.bypassList.length
|
||||||
conditions = null
|
conditions = null
|
||||||
for cond in profile.bypassList
|
for cond in profile.bypassList
|
||||||
condition = Conditions.compile cond
|
condition = Conditions.compile cond
|
||||||
|
Loading…
Reference in New Issue
Block a user