]> code.ossystems Code Review - openembedded-core.git/commit
recipetool: create: fix picking up false npm package directories
authorPaul Eggleton <paul.eggleton@linux.intel.com>
Wed, 27 Apr 2016 13:06:18 +0000 (01:06 +1200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 6 May 2016 09:30:57 +0000 (10:30 +0100)
commit8c522f1f536270e195c8c73f5c72801495e7b33b
treed114f688999a850fe873831abf1e1bb2df90d8c4
parent5bf5e68e540dc4e034288702094d306ebd19fef9
recipetool: create: fix picking up false npm package directories

It is possible for a Node.js module to have node_modules subdirectories
that contain no package.json file (e.g. iotivity-node has such a
directory). It appears these should simply be ignored, or else with the
way the current code works we will get errors later.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/lib/oe/package.py