mirror of
https://github.com/zero-peak/ZeroOmega.git
synced 2025-01-22 15:08:12 -05:00
Fix null reference profile error. Fix #1593.
This commit is contained in:
parent
bfb49b1b19
commit
86181d3f17
@ -23,7 +23,9 @@ class ProxyImpl
|
||||
ref_set = OmegaPac.Profiles.allReferenceSet(profile,
|
||||
options, profileNotFound: @_profileNotFound.bind(this))
|
||||
for own _, name of ref_set
|
||||
referenced_profiles.push(OmegaPac.Profiles.byName(name, options))
|
||||
profile = OmegaPac.Profiles.byName(name, options)
|
||||
if profile
|
||||
referenced_profiles.push(profile)
|
||||
@_proxyAuth.setProxies(referenced_profiles)
|
||||
)
|
||||
getProfilePacScript: (profile, meta, options) ->
|
||||
|
Loading…
Reference in New Issue
Block a user