1
0
Fork 0

get resources dir from spdxlicenses

pull/4264/head
Rob Bast 2015-07-20 11:42:20 +02:00
parent ab08e4be62
commit 56f0d82207
1 changed files with 2 additions and 1 deletions

View File

@ -13,6 +13,7 @@
namespace Composer;
use Composer\Json\JsonFile;
use Composer\Spdx\SpdxLicenses;
use Symfony\Component\Finder\Finder;
use Symfony\Component\Process\Process;
use Seld\PharUtils\Timestamps;
@ -96,7 +97,7 @@ class Compiler
$finder->files()
->name('*.json')
->in(__DIR__.'/../../res')
->in(__DIR__.'/../../vendor/composer/spdx-licenses/res/')
->in(SpdxLicenses::getResourcesDir())
->sort($finderSort)
;