style: adhere to standard style
This commit is contained in:
parent
f32a8e7d03
commit
d5a8cb1935
@ -28,10 +28,7 @@ module.exports = function () {
|
||||
var config = ini.decode(fs.readFileSync('./.git/config') + '')
|
||||
var repo = config['remote "origin"'].url
|
||||
|
||||
if (repo) pkg.repository = {
|
||||
type: 'git',
|
||||
url: ghUrl(repo)
|
||||
}
|
||||
if (repo) pkg.repository = { type: 'git', url: ghUrl(repo) }
|
||||
}
|
||||
|
||||
// set up devDependency
|
||||
|
Loading…
x
Reference in New Issue
Block a user