zazoomauro / node-dependency-injection

The NodeDependencyInjection component allows you to standarize and centralize the way objects are constructed in your application.
https://github.com/zazoomauro/node-dependency-injection/wiki
MIT License
276 stars 34 forks source link

Refactor too many return statements #191

Closed zazoomauro closed 1 year ago

zazoomauro commented 1 year ago

return argument Severity: MajorFound in [lib/Loader/FileLoader.js]

return new PackageReference(argument.slice(1)) Found in [lib/Loader/FileLoader.js]

return null Severity: MajorFound in [lib/InstanceManager.js]

return new TagReference(argument.slice(8)) Severity: MajorFound in [lib/Loader/FileLoader.js]