Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/npm/cli.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorRobert Ludwig <rob.ludwig@rideamigos.com>2016-02-08 19:43:30 +0300
committerRebecca Turner <me@re-becca.org>2016-02-26 01:14:31 +0300
commitc6ad09131af2e2766d6034257a8fcaa294184121 (patch)
tree60f9c80778839fb1d33fe2707de4134b1f45e760 /doc
parent4906c90ed2668adf59ebee759c7ebb811aa46e57 (diff)
doc: Correct invalid JSON in npm-update docs
Credit: @robludwig Reviewed-By: @iarna PR-URL: https://github.com/npm/npm/pull/11474
Diffstat (limited to 'doc')
-rw-r--r--doc/cli/npm-update.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/cli/npm-update.md b/doc/cli/npm-update.md
index 5271ac16d..4f0a32441 100644
--- a/doc/cli/npm-update.md
+++ b/doc/cli/npm-update.md
@@ -36,7 +36,7 @@ on dependencies, `dep1` (`dep2`, .. etc.). The published versions of `dep1` are
```
{
"dist-tags": { "latest": "1.2.2" },
- "versions": {
+ "versions": [
"1.2.2",
"1.2.1",
"1.2.0",
@@ -46,7 +46,7 @@ on dependencies, `dep1` (`dep2`, .. etc.). The published versions of `dep1` are
"0.4.1",
"0.4.0",
"0.2.0"
- }
+ ]
}
```