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

Calls setupMirrorFromCache when fetching through the git-fetcher #3548

Merged
merged 4 commits into from
Jun 2, 2017

Conversation

arcanis
Copy link
Member

@arcanis arcanis commented May 31, 2017

Otherwise, the mirror will not be populated with data imported from the cache. Cf #3154

@bestander
Copy link
Member

Any test you could come up with?

@arcanis
Copy link
Member Author

arcanis commented May 31, 2017

Do we have tests with git, outside of the resolver?

@bestander
Copy link
Member

bestander commented May 31, 2017 via email

Copy link
Member

@bestander bestander left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, merge at will, after removing logs :)

await fs.unlink(path.join(config.cwd, 'offline-mirror'));
await fs.unlink(path.join(config.cwd, 'node_modules'));

console.log('bbbbb');
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice console.log! :)

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@arcanis arcanis merged commit 168ae00 into yarnpkg:master Jun 2, 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.

2 participants