This wasn't working if there were bundled deps in a different directory, but linked into node_modules.
Removing the "not" works the way I believe this was intended.
I have tested this patch with:
no bundled dependencies: Requires proper dependencies
bundled deps in node_modules: Requires no nodejs dependencies
bundled deps in node_modules_prod and linked them into node_modules: Requires no nodejs dependencies
This wasn't working if there were bundled deps in a different directory, but linked into node_modules.
Removing the "not" works the way I believe this was intended.
I have tested this patch with:
no bundled dependencies: Requires proper dependencies
bundled deps in node_modules: Requires no nodejs dependencies
bundled deps in node_modules_prod and linked them into node_modules: Requires no nodejs dependencies
Signed-off-by: Troy Dawson tdawson@redhat.com