Skip to content

Commit

Permalink
Force use of npm pack if a dist tag is specified on input
Browse files Browse the repository at this point in the history
  • Loading branch information
jasnell committed Jul 23, 2015
1 parent a38f4fa commit ddded8f
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
16 changes: 8 additions & 8 deletions SIGNED.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@
-----BEGIN PGP SIGNATURE-----
Comment: GPGTools - https://gpgtools.org
iQEcBAABCgAGBQJVsRyrAAoJEHNBsVwHCHeshFoH/0fSBhPehbEKsYPYM32wffIZ
iSlfc0z7V4lzFtoafeR/E1+QFdiSzRd45DzSKteye+8c2mLzpKBd3gDNtszKUquc
q6E25oS8NaSoAvt6gmuop7e6+7UBAZfXoB1oyeHp567VtPO8XkfdOMsr+c4YBz8y
fX5DXdIU6ETFwKelWJBZ2EdH9vi+gMJggIYEuAenRFulSkSMwnQ6OAtbiG1go4tS
/WOWMVrRLBy+UiuFhLYRaue5ZDEgJs/3zTO5sS+Qo9p1R3QKQWOunsdoC1EI9bsl
Q1Unl2HS4PDtdW4zrzE0lIkSY6ix7OJZD7IZe+Juc14zqsgyJxqDensYPgdC7U8=
=L4v9
iQEcBAABCgAGBQJVsSCeAAoJEHNBsVwHCHes9SwH/3oh1LS3ZZXGDQpsUDydmIQD
ru0JO2Cdg6K8BMQaUHCd9ZN1ZpdUlY9F83DhmFrLNftqg58RFl8OxDCBpQkTlYQq
dhZcovyoilUqBSNExyai9xd4PtgPY3BkrlTyIB+DJlHJsBrJcFQ8ub9qcAWJ3uGd
lWZs6FkEG+63dRV686q2dIBhFR83I6ebjfOxr/H35Ur4wjZWxpEKDZGPo2sHaleO
j+u3Qv8qhyNJlkHSIS6WgqxWEXIiTBTg0CkLNSqFg1z52Qcek5ykEynr+yBk0cgD
x2Q1PMJpu+eQ/5Md1a9XSmhjuJIpAQnZABEi0IGfexYiP6bIWI2YECLpgAuTwlQ=
=ozWI
-----END PGP SIGNATURE-----
```
Expand All @@ -31,7 +31,7 @@ size exec file contents
lodash/
123 x test.js dca87bee9bc057b642eda9f0ae059cc245a7b7a81e63809221e7a59f4aca644f
lib/
9251 citgm.js a30153d2abd9614d3550a41c29ca48737130d4f33dfed7d7cc9965c36dec8b7b
9284 citgm.js 4253c53d479c581a92317cf594daaa4254d68c5240cb4738b9a375178abb420c
679 package.json 22458b08aaf9a75024fb822757e5eb562735859cd4bd1d472a1ad61f9d3be464
1080 README.md 9809a749fef999bbcdc0d593a7213ecade281ba50f3fd9fbb8471b1f4d380276
test/
Expand Down
2 changes: 1 addition & 1 deletion lib/citgm.js
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ function grabProject(context, next) {
}
context.emit('info', 'package-meta', context.meta);
var repository = context.meta.repository;
if (repository) {
if (repository && context.module.type !== 'tag') {
if (repository.type === 'git') {
context.emit('info','git-clone-start', 'Cloning project');
var url = repository.url.replace(/^git\+/,'');
Expand Down

0 comments on commit ddded8f

Please sign in to comment.