WordPress / WordPress/grunt-patch-wordpress

Message "package.json has not been modified." shows every time I run grunt patch

Open
#95 1 comment 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
51
Forks
13
PR merge metrics
No merged PRs in 30d

Description

As stated. I do not know why this happens. It is not a serious problem, but it is fairly annoying and it seems to lag quite a bit before and after showing the message so I wonder if whatever it's doing behind the scenes that causes that output is unnecessary/unnecessarily slow.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the issue by running grunt patch and observe when the "package.json has not been modified" message appears and how long the command takes around it. Trace the package.json check in the grunt-patch-wordpress command path; done means the unnecessary message or delay is removed without affecting patching.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
cli, tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.