fix(plugin): return originalMethod return value

This commit is contained in:
Tim Lancina 2016-02-16 17:40:54 -06:00
parent ac5c11b768
commit 240f0f87cc
3 changed files with 3 additions and 3 deletions

View File

@ -181,7 +181,7 @@ function RequiresPlugin(target, key, descriptor) {
exports.pluginWarn(this.name, null, this.name);
return;
}
originalMethod.apply(this, args);
return originalMethod.apply(this, args);
};
return descriptor;
}

File diff suppressed because one or more lines are too long

View File

@ -184,7 +184,7 @@ export function RequiresPlugin(target: Function, key: string, descriptor: TypedP
pluginWarn(this.name, null, this.name);
return;
}
originalMethod.apply(this, args);
return originalMethod.apply(this, args);
}
return descriptor;