From c6ad09131af2e2766d6034257a8fcaa294184121 Mon Sep 17 00:00:00 2001 From: Robert Ludwig Date: Mon, 8 Feb 2016 11:43:30 -0500 Subject: doc: Correct invalid JSON in npm-update docs Credit: @robludwig Reviewed-By: @iarna PR-URL: https://github.com/npm/npm/pull/11474 --- doc/cli/npm-update.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'doc') 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" - } + ] } ``` -- cgit v1.2.3