style: adhere to standard style

This commit is contained in:
Stephan Bönnemann 2015-03-22 10:44:19 +01:00
parent f32a8e7d03
commit d5a8cb1935
8 changed files with 11 additions and 14 deletions

View File

@ -28,10 +28,7 @@ module.exports = function () {
var config = ini.decode(fs.readFileSync('./.git/config') + '') var config = ini.decode(fs.readFileSync('./.git/config') + '')
var repo = config['remote "origin"'].url var repo = config['remote "origin"'].url
if (repo) pkg.repository = { if (repo) pkg.repository = { type: 'git', url: ghUrl(repo) }
type: 'git',
url: ghUrl(repo)
}
} }
// set up devDependency // set up devDependency