psyrendust / load-grunt-parent-tasks

Loads de-duped grunt tasks from parent or sibling modules.
2 stars 5 forks source link

Fix a breaking error when the packages don't have the same kind of deps #2

Closed frankcortes closed 6 years ago

lupestro commented 7 years ago

@psyrendust Can you merge this fix? I just ran into it with the postinstall on mxgraph, which uses this module. Without the guard clause in the fix, letting it take the default scope option will make projects without optional dependencies crash and burn. Frank has already marked the package.json for 0.1.2.