Skip to content
This repository has been archived by the owner on Mar 5, 2022. It is now read-only.

不能添加相同源的项目 #4

Closed
axetroy opened this issue Mar 9, 2017 · 1 comment
Closed

不能添加相同源的项目 #4

axetroy opened this issue Mar 9, 2017 · 1 comment
Labels

Comments

@axetroy
Copy link
Collaborator

axetroy commented Mar 9, 2017

I'm submitting a ... (check one with "x")

[x] bug report => search github for a similar issue or PR before submitting
[ ] feature request
[ ] support request

Current behavior

不能添加相同源的项目
比如:

gpm add https://github.com/gpmer/gpm.js.git
gpm add https://github.com/gpmer/gpm.js.git --name test

会生成这样的目录

--github
  --gpmer
    -- gpm.js
    -- test

但是在注册标里面,只有映射到test,第一个add的,被覆盖了。
因为是以json形式打印出来的,key则是根据git的项目名称。key相同了,只能有一个存在

后续会解决这个问题
Expected behavior

Please tell us about your environment:

node:     v6.10.0
gpm:      5.3.0
arch:     x64
os:       Linux 4.4.0-65-generic
platform: linux
@axetroy axetroy added the bug label Mar 9, 2017
@axetroy
Copy link
Collaborator Author

axetroy commented Mar 9, 2017

fix in [eff0789]

@axetroy axetroy closed this as completed Mar 9, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant