Hybrid View

Bug in CliOptions.js

In CliOptions.js (SenchaSDKTools-1.2.1\command\src folder), there is a bug in parse method. We have the following statement starting at line 126:
match[1].split('').forEach(function(a) {
opt = this.get(a);
if (opt) {
opt.toggled = true;
}
});

Inside the forEach, we are calling this.get, but the scope is different, so we should pass correct scope to the function.