summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app/infrastructure/registry.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/app/infrastructure/registry.js b/app/infrastructure/registry.js
index 6d94fcf..13b92de 100644
--- a/app/infrastructure/registry.js
+++ b/app/infrastructure/registry.js
@@ -19,7 +19,8 @@ export class Resolver {
}
isConstructor() {
- return this.parseConstructor(this.factory)[1] != '';
+ return this.factory.name;
+ //return this.parseConstructor(this.factory)[1] != '';
}
resolveDependenciesUsing(container) {