Skip to content

Commit ca923f7

Browse files
authored
Replace DIRECTORY_SEPARATOR with '/' (#1) (#69)
This pull request aims to fix zips created on windows with a broken folder structure which doesn't match the lambda function handler.
1 parent 651381a commit ca923f7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Package.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -413,7 +413,7 @@ protected function prependBasePath($path)
413413
{
414414
$path = $this->removeBasePath($path);
415415

416-
return $this->getBasePath() . ($path ? DIRECTORY_SEPARATOR . $path : $path);
416+
return $this->getBasePath() . ($path ? '/' . $path : $path);
417417
}
418418

419419
/**

0 commit comments

Comments
 (0)