diff options
-rw-r--r-- | lib/init.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/init.js b/lib/init.js index 1c64d9760..174d61822 100644 --- a/lib/init.js +++ b/lib/init.js @@ -99,7 +99,7 @@ function init_ (data, folder, cb) { , function (er, r) { if (er) return cb(er) if (r !== "none") { - data.repository = (data.repository || {}).url = r + (data.repository = (data.repository || {})).url = r } cb() } |