提交 8e1db5e3 编写于 作者: M Martin Aeschlimann

fixes #3273 Improve OLD INJECTION STYLE warning detection

上级 91e0fcdc
......@@ -208,7 +208,7 @@ class ServicesMap {
allArguments.push.apply(allArguments, descriptor.staticArguments());
allArguments.push.apply(allArguments, args);
if (allArguments.length > 1) {
if (allArguments.length > 2) {
console.warn('using OLD INJECTION STYLE for ' + descriptor.ctor.name);
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册