Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Commit de6cc28

Browse files
committed
fix($injector): remove bogus fn arg
getService fn takes only one argument, removing the second one. Closes #1711
1 parent afd6771 commit de6cc28

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/auto/injector.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -557,7 +557,7 @@ function createInjector(modulesToLoad) {
557557
args.push(
558558
locals && locals.hasOwnProperty(key)
559559
? locals[key]
560-
: getService(key, path)
560+
: getService(key)
561561
);
562562
}
563563
if (!fn.$inject) {

0 commit comments

Comments
 (0)