Fix Unable to create new proxy profile #64

This commit is contained in:
proxy.zeroomega 2024-11-26 00:39:50 +08:00
parent d657b22b75
commit aad656fe9e

View File

@ -12,6 +12,7 @@ class AST_Raw extends U2.AST_SymbolRef
@aborts = -> false @aborts = -> false
decorateCustomBuiltinProfiles = (profile, options = {}) -> decorateCustomBuiltinProfiles = (profile, options = {}) ->
return unless profile
key = exports.nameAsKey(profile) key = exports.nameAsKey(profile)
if exports.builtinProfiles[key] if exports.builtinProfiles[key]
customBuiltinProfiles = Object.assign( customBuiltinProfiles = Object.assign(