log browsable url from info gen'd by hosted-git-info
This commit is contained in:
parent
1b7935678c
commit
c2d92b19f3
|
@ -18,9 +18,9 @@ class TemplateGenerator {
|
|||
const fspath = utils.joinPath(destinationFolder, name);
|
||||
this.checkPathExists(fspath);
|
||||
const self = this;
|
||||
let {url, filePath} = this.getExternalProject(uri);
|
||||
let {url, filePath, browse} = this.getExternalProject(uri);
|
||||
let tmpFilePath = fs.tmpDir(filePath);
|
||||
console.log(__('Installing Template from ' + uri + '....').green);
|
||||
console.log(__('Installing template from ' + browse).green);
|
||||
|
||||
fs.mkdirpSync(utils.dirname(tmpFilePath));
|
||||
utils.downloadFile(url, tmpFilePath, (err) => {
|
||||
|
@ -103,7 +103,8 @@ class TemplateGenerator {
|
|||
|
||||
return {
|
||||
url,
|
||||
filePath: utils.joinPath(".embark/templates/", folder, "archive.zip")
|
||||
filePath: utils.joinPath(".embark/templates/", folder, "archive.zip"),
|
||||
browse: decodeURIComponent(hgi.browse())
|
||||
};
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue