Skip to content

Commit

Permalink
Merge pull request #15152 from emberjs/backport-validate-injections-d…
Browse files Browse the repository at this point in the history
…ebug-stripping

[backport for 2.12.x ] Backport validate injections debug stripping
  • Loading branch information
rwjblue committed Apr 24, 2017
2 parents 17678c6 + 41c8de7 commit 8930b15
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/container/lib/container.js
Expand Up @@ -414,7 +414,7 @@ function buildInjections(/* container, ...injections */) {
}
}

container.registry.validateInjections(injections);
runInDebug(() => container.registry.validateInjections(injections));

for (let i = 0; i < injections.length; i++) {
injection = injections[i];
Expand Down

0 comments on commit 8930b15

Please sign in to comment.