Skip to content

Commit 3f85e01

Browse files
committed
Added absolute path for copy scope
1 parent 3f48973 commit 3f85e01

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/SDK/SDK.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -476,7 +476,7 @@ public function generate($target)
476476
$this->render($template, $destination, $block, $params, $minify);
477477
break;
478478
case 'copy':
479-
copy('templates' . $file['template'], $destination);
479+
copy(realpath('templates' . $file['template']), $destination);
480480
break;
481481
case 'service':
482482
foreach ($this->spec->getServices() as $key => $service) {

0 commit comments

Comments
 (0)