mirror of
https://github.com/balena-io/etcher.git
synced 2025-04-24 15:27:17 +00:00
docs: fix error on the upgrading a dependency guide at CONTRIBUTING.md (#592)
One of the steps incorrectly says "Re-install the dependencies. This will update the `npm-shrinkwrap.json` file". The intention was to say that you should `npm install` the *new* dependency, and that will update the `npm-shrinkwrap.json` file. Signed-off-by: Juan Cruz Viotti <jviottidc@gmail.com>
This commit is contained in:
parent
9a0fc2c34a
commit
7a5dd092da
@ -114,7 +114,8 @@ Use the following steps to ensure everything goes flawlessly:
|
||||
you might have brought during development, or you are running older
|
||||
dependencies because you come from another branch or reference.
|
||||
|
||||
- Re-install the dependencies. This will update the `npm-shrinkwrap.json` file.
|
||||
- Install the new version of the dependency. For example: `npm install --save
|
||||
<package>@<version>`. This will update the `npm-shrinkwrap.json` file.
|
||||
|
||||
- Run `npm run shrinkwrap`. This is a small script that ensures that operating
|
||||
system specific dependencies that could get included in the previous step are
|
||||
|
Loading…
x
Reference in New Issue
Block a user