This commit is contained in:
Jessica Lord
2015-05-12 12:33:30 -07:00
parent 188ca6e9cc
commit c9d12bc130

View File

@@ -47,7 +47,7 @@ module.exports = (grunt) ->
grunt.log.error("#{metadata.name}: #{msg}")
normalizePackageData metadata, reportPackageError, true
if metadata.repository.type is 'git'
metadata.repository.url ?= metadata.repository.url?.replace(/^git\+/, '')
metadata.repository.url = metadata.repository.url?.replace(/^git\+/, '')
moduleCache = metadata._atomModuleCache ? {}