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

Fix check for current directory #378

Closed
wants to merge 1 commit into from

Conversation

ellnix
Copy link
Contributor

@ellnix ellnix commented Dec 12, 2024

Fix #377

This was the smallest change I could make to fix the issue. It might be better if instead of comparing to "." we set change getInstallationDirectory() from

        return $name !== '.' ? getcwd().'/'.$name : '.';

to

        return $name !== '.' ? getcwd().'/'.$name : getcwd();

Any feedback would be appreciated.

@taylorotwell
Copy link
Member

No plans to mess with this right now.

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.

Cannot create a project in current directory (".")
2 participants