Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow to write directly into an S3 bucket #62

Merged
merged 1 commit into from
Jan 8, 2016
Merged

Allow to write directly into an S3 bucket #62

merged 1 commit into from
Jan 8, 2016

Conversation

michellaurent
Copy link

When specifying a path in the config, dirname returns the name of the folder and makeDirectory ensures that this folder exists.

When the destination.path is empty, dirname returns a period "."

When makeDirectory is called with period as the directory name, AWS throws the exception.

A workaround is to skip the makeDirectory call when dirname returns a period.

Fixes #55.

freekmurze added a commit that referenced this pull request Jan 8, 2016
Allow to write directly into an S3 bucket
@freekmurze freekmurze merged commit acca13b into spatie:master Jan 8, 2016
@freekmurze
Copy link
Member

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants