mirror of
https://github.com/zero-peak/ZeroOmega.git
synced 2025-01-22 15:08:12 -05:00
Bugfix: Export pac from a FixedProfile without bypass list do not work.
If a fixedProfle without any bypass list, pac generation will fail. This cause export pac failure, and switch profile which refer to this fixedprofile also not work properly.
This commit is contained in:
parent
1c9ac7fe71
commit
39d05ae018
@ -253,7 +253,7 @@ module.exports = exports =
|
||||
body = [
|
||||
new U2.AST_Directive value: 'use strict'
|
||||
]
|
||||
if profile.bypassList
|
||||
if profile.bypassList and profile.bypassList.length
|
||||
conditions = null
|
||||
for cond in profile.bypassList
|
||||
condition = Conditions.compile cond
|
||||
|
Loading…
Reference in New Issue
Block a user