mirror of
https://github.com/pattern-lab/patternlab-php.git
synced 2025-01-17 22:29:12 +01:00
some simple fixes to get going on windows
This commit is contained in:
parent
4f496a1325
commit
a36971e5ce
@ -118,7 +118,7 @@ class Migrator {
|
||||
$fileName = str_replace($sourcePath,"",$object->getPathname());
|
||||
|
||||
// check to see if it's a new directory
|
||||
if ($object->isDir() && !is_dir($destinationPath.$fileName)) {
|
||||
if ($object->isDir() && !is_dir($destinationPath.$fileName)) {
|
||||
mkdir($destinationPath.$fileName);
|
||||
} else if ($object->isFile()) {
|
||||
copy($sourcePath.$fileName,$destinationPath.$fileName);
|
||||
|
@ -1,5 +1,5 @@
|
||||
{
|
||||
"sourcePath": "core/source/",
|
||||
"destinationPath": "source/",
|
||||
"sourcePath": "core/source",
|
||||
"destinationPath": "source",
|
||||
"checkType": "dirEmpty"
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user