Skip to content

Commit

Permalink
fix(resolve): git dependencies should have platform agnostic IDs
Browse files Browse the repository at this point in the history
  • Loading branch information
zkochan committed Feb 13, 2017
1 parent 4b42064 commit dfb7acc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/resolve/git.ts
Expand Up @@ -57,7 +57,7 @@ export default async function resolveGit (parsedSpec: PackageSpec, opts: Resolve
tarball: `https://codeload.github.com/${ghSpec.owner}/${ghSpec.repo}/tar.gz/${commitId}`,
}
return {
id: path.join('github.com', ghSpec.owner, ghSpec.repo, commitId),
id: ['github.com', ghSpec.owner, ghSpec.repo, commitId].join('/'),
resolution,
}
}
Expand Down

0 comments on commit dfb7acc

Please sign in to comment.