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

Update bin/validate-package-lock.js error message. #23435

Merged
merged 2 commits into from
Jun 25, 2020

Conversation

raineorshine
Copy link
Contributor

@raineorshine raineorshine commented Jun 24, 2020

If you don't delete package-lock.json, it will not update resolved: false, so I've made that explicit in the error message.

Wording update. If you don't delete `package-lock.json`, it will not update `resolved: false`.
@gziolo
Copy link
Member

gziolo commented Jun 25, 2020

You can use git reset to revert local changes applied to the lock file. I don’t think removing the lock file is safe in the case when there were changes in dependencies.

Suggest reverting lock file instead of deleting it.
@raineorshine
Copy link
Contributor Author

Good point. Better?

@gziolo
Copy link
Member

gziolo commented Jun 25, 2020

Thanks!

@gziolo gziolo merged commit 6a3314f into WordPress:master Jun 25, 2020
@gziolo gziolo added the [Type] Build Tooling Issues or PRs related to build tooling label Jun 25, 2020
@github-actions github-actions bot added the First-time Contributor Pull request opened by a first-time contributor to Gutenberg repository label Jun 25, 2020
@github-actions
Copy link

Congratulations on your first merged pull request, @raineorshine! We'd like to credit you for your contribution in the post announcing the next WordPress release, but we can't find a WordPress.org profile associated with your GitHub account. When you have a moment, visit the following URL and click "link your GitHub account" under "GitHub Username" to link your accounts:

https://profiles.wordpress.org/me/profile/edit/

And if you don't have a WordPress.org account, you can create one on this page:

https://login.wordpress.org/register

Kudos!

@github-actions github-actions bot added this to the Gutenberg 8.5 milestone Jun 25, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
First-time Contributor Pull request opened by a first-time contributor to Gutenberg repository [Type] Build Tooling Issues or PRs related to build tooling
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants