fix linting errors
This commit is contained in:
@@ -16,6 +16,6 @@ exports.FunctionExpression = function (node, parent, scope, context) {
|
||||
context.skip();
|
||||
};
|
||||
|
||||
exports.ThisExpression = function (node, parent, scope, context, file) {
|
||||
exports.ThisExpression = function () {
|
||||
return t.identifier("undefined");
|
||||
};
|
||||
|
||||
@@ -447,7 +447,7 @@ t.buildMatchMemberExpression = function (match, allowPartial) {
|
||||
|
||||
// too many parts
|
||||
if (++i > parts.length) {
|
||||
if (partial) {
|
||||
if (allowPartial) {
|
||||
return true;
|
||||
} else {
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user