diff options
author | Martin Cooper <mfncooper@gmail.com> | 2012-03-31 02:39:31 +0400 |
---|---|---|
committer | isaacs <i@izs.me> | 2012-04-07 01:35:13 +0400 |
commit | 16c02cb363dc918d827205e27bf5a282ea4e5b5c (patch) | |
tree | 6a4946e831c200f72c0d226247033a66cab0f75a /lib | |
parent | 12d6ed6aac5672fe017a1150ecaaadad1ada403a (diff) |
Don't clobber the repo object with a string.
Diffstat (limited to 'lib')
-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() } |