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

Using create-project command with absolute path does not work in 1.10-RC #8609

Open
ol0lll opened this issue Feb 14, 2020 · 2 comments
Open

Using create-project command with absolute path does not work in 1.10-RC #8609

ol0lll opened this issue Feb 14, 2020 · 2 comments
Labels
Bug
Milestone

Comments

@ol0lll
Copy link

@ol0lll ol0lll commented Feb 14, 2020

When I run this command:

composer create-project thunder/thunder-project:3.x /home/runner/build/test-dir --stability dev --no-interaction --no-install

I get the following output:

Creating a "thunder/thunder-project:3.x" project at "/home/runner/work/theme-thunder-admin/theme-thunder-admin//home/runner/build/test-dir"

And I expected this to happen:

Project should be created in ' /home/runner/build/test-dir'.
In 43e0321 the directory variable is prepend with getcwd() even when path argument is set which renders using absolute paths impossible.

@ol0lll ol0lll changed the title Using absolute path with create-project does not work anymore Using absolute path with create-project does not work in 1.10-RC Feb 14, 2020
@ol0lll ol0lll changed the title Using absolute path with create-project does not work in 1.10-RC Using create-project command with absolute path does not work in 1.10-RC Feb 14, 2020
@Seldaek

This comment has been minimized.

Copy link
Member

@Seldaek Seldaek commented Feb 14, 2020

Ah good catch, should be an easy fix if you want to have a look at sending a PR? :)

@ol0lll

This comment has been minimized.

Copy link
Author

@ol0lll ol0lll commented Feb 17, 2020

I've added a PR.

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

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.