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 for adding remote tarball package #4898

Closed
wants to merge 1 commit into from

Conversation

sameer-coder
Copy link

@sameer-coder sameer-coder commented Nov 10, 2017

Summary

This change fixes the issue #3160.

The motivation for fixing this bug was to start contributing to yarn development. Yarn throws an unexpected error while adding a remote tarball package when all files are listed are without the leading local directory ("./*"). I have added a message which informs the user of this behavior so the tar file can be called accordingly.

Test plan

The following command demonstrates the fix:
yarn add https://github.com/blikblum/cherrytree/releases/download/svelte-2.4.2/build.tar.gz

image

@sameer-coder sameer-coder changed the title Warning added for Issue 3160 Fix for Issue 3160 Nov 10, 2017
@sameer-coder sameer-coder changed the title Fix for Issue 3160 Fix for adding remote tarball package Nov 10, 2017
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.

None yet

1 participant