mirror of
https://github.com/filamentphp/plugin-skeleton.git
synced 2025-12-06 21:48:53 +08:00
Merge pull request #66 from rahat1994/main
Update file search command to correctly handle plugin names containin…
This commit is contained in:
@@ -342,7 +342,7 @@ function determineSeparator(string $path): string
|
|||||||
|
|
||||||
function replaceForWindows(): array
|
function replaceForWindows(): array
|
||||||
{
|
{
|
||||||
return preg_split('/\\r\\n|\\r|\\n/', run('dir /S /B * | findstr /v /i .git\ | findstr /v /i vendor | findstr /v /i ' . basename(__FILE__) . ' | findstr /r /i /M /F:/ ":author :vendor :package VendorName skeleton migration_table_name vendor_name vendor_slug author@domain.com"'));
|
return preg_split('/\\r\\n|\\r|\\n/', run('dir /S /B * | findstr /v /i .git\ | findstr /v /i \\vendor\\ | findstr /v /i ' . basename(__FILE__) . ' | findstr /r /i /M /F:/ ":author :vendor :package VendorName skeleton migration_table_name vendor_name vendor_slug author@domain.com"'));
|
||||||
}
|
}
|
||||||
|
|
||||||
function replaceForAllOtherOSes(): array
|
function replaceForAllOtherOSes(): array
|
||||||
|
|||||||
Reference in New Issue
Block a user