Fix Paths test failing on Windows (#2187)

* Fix directory separator for windows os

* Change Paths to use a forward slash instead
This commit is contained in:
Sami Mazouz 2020-05-28 18:42:54 +02:00 committed by GitHub
parent 063df058b6
commit 004d80b860

View File

@ -34,7 +34,7 @@ class Paths
}, $paths);
// Assume a standard Composer directory structure unless specified
$this->paths['vendor'] = $this->vendor ?? $this->base.DIRECTORY_SEPARATOR.'vendor';
$this->paths['vendor'] = $this->vendor ?? $this->base.'/vendor';
}
public function __get($name): ?string