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

Composer archive removes parts of paths similar to the working directory #9403

Closed
tanelpp opened this issue Nov 3, 2020 · 0 comments · Fixed by #9404
Closed

Composer archive removes parts of paths similar to the working directory #9403

tanelpp opened this issue Nov 3, 2020 · 0 comments · Fixed by #9404
Labels
Milestone

Comments

@tanelpp
Copy link

tanelpp commented Nov 3, 2020

Example:

  • the working directory of my project is /application
  • I have the following file in my project: templates/application/index.html.twig
    (So the absolute path is /application/templates/application/index.html.twig

When I run this command:

composer archive --format=zip

Then the ZIP archive contains a file named templatesindex.html.twig
instead of the expected templates/application/index.html.twig.

@Seldaek Seldaek added the Bug label Nov 3, 2020
@Seldaek Seldaek added this to the Bugs milestone Nov 3, 2020
tanelpp pushed a commit to tanelpp/composer that referenced this issue Nov 3, 2020
tanelpp pushed a commit to tanelpp/composer that referenced this issue Nov 3, 2020
@Seldaek Seldaek modified the milestones: Bugs, 2.0 Nov 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants