Skip to content

Commit

Permalink
Merge 0579969 into c8cab3f
Browse files Browse the repository at this point in the history
  • Loading branch information
dlmr committed Dec 4, 2016
2 parents c8cab3f + 0579969 commit f7c0720
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/commands/init/fetchTemplate.js
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ function download(template, version, clone = false) {

return new Promise((resolve) => {
try {
downloadGitRepo(`${template}${version && '#' + version}`, tmp, { clone }, (error) => {
downloadGitRepo(`${template}${version && '#' + encodeURIComponent(version)}`, tmp, { clone }, (error) => {
if (error) {
spinner.fail();
log.error(
Expand Down

0 comments on commit f7c0720

Please sign in to comment.