We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents bc30f0e + aab6b3f commit e93ab62Copy full SHA for e93ab62
1 file changed
configure.php
@@ -347,7 +347,9 @@ function replaceForWindows(): array
347
348
function replaceForAllOtherOSes(): array
349
{
350
- return explode(PHP_EOL, run('grep -E -r -l -i ":author|:vendor|:package|VendorName|skeleton|migration_table_name|vendor_name|vendor_slug|author@domain.com" --exclude-dir=vendor ./* ./.github/* | grep -v ' . basename(__FILE__)));
+ return explode(PHP_EOL, run('find ./* ./.github/* -name "vendor" -type d -prune \
351
+ -o -name "configure.php" -prune \
352
+ -o -type f -print0 | xargs -0 grep -E -r -l -i ":author|:vendor|:package|VendorName|skeleton|migration_table_name|vendor_name|vendor_slug|author@domain.com"'));
353
}
354
355
function removeDirectory($dir): void
0 commit comments