Minor Bug fixed

This commit is contained in:
Peng-YM
2020-09-01 20:24:32 +08:00
parent 2d6aa1ef1a
commit 80294618fb
4 changed files with 43 additions and 8 deletions

View File

@@ -379,7 +379,7 @@ function buildSubscription(options) {
if (options.flag !== 'DEFAULT') {
sub.process.push({
type: "Flag Operator",
args: [options.flag === 'ADD']
args: options.flag === 'ADD'
});
}
// udp, tfo, scert
@@ -387,7 +387,7 @@ function buildSubscription(options) {
if (options[opt] !== 'DEFAULT') {
sub.process.push({
type: "Set Property Operator",
args: [opt, options[opt] === 'FORCE_OPEN']
args: {key: opt, value: options[opt] === 'FORCE_OPEN'}
});
}
}