Skip to content
Snippets Groups Projects

Issue #3365151: CollectPathsToExcludeEvent needs to exclude paths relative to the project root prefixed with './' so they are not ambiguous to rsync

Merged Issue #3365151: CollectPathsToExcludeEvent needs to exclude paths relative to the project root prefixed with './' so they are not ambiguous to rsync
1 file
+ 1
1
Compare changes
  • Side-by-side
  • Inline
@@ -106,7 +106,7 @@ final class CollectPathsToExcludeEvent extends StageEvent implements PathListInt
// so that they're totally unambiguous. A path like
// `/path/to/project/file.php` should become `/file.php`.
$flag = TRUE;
// Adding is_dir because database file were not being recognised using
// Adding is_dir because database file were not being recognized using
// is_file.
if (is_file($path) || !is_dir($path)) {
$flag = FALSE;
Loading