Skip to content

Commit

Permalink
Issue #3219157: Support Windows file paths
Browse files Browse the repository at this point in the history
  • Loading branch information
mglaman committed Jun 16, 2021
1 parent 480a920 commit 2fe0591
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions rector.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@
$drupalFinder->locateRoot(__DIR__);
$drupalRoot = $drupalFinder->getDrupalRoot();
$parameters->set(Option::AUTOLOAD_PATHS, [
$drupalRoot . '/core',
$drupalRoot . '/modules',
$drupalRoot . '/profiles',
$drupalRoot . '/themes'
\realpath($drupalRoot . '/core'),
\realpath($drupalRoot . '/modules'),
\realpath($drupalRoot . '/profiles'),
\realpath($drupalRoot . '/themes')
]);

$parameters->set(Option::SKIP, ['*/upgrade_status/tests/modules/*']);
Expand Down

0 comments on commit 2fe0591

Please sign in to comment.