Skip to content

Commit f92087e

Browse files
committed
Fix for #117
1 parent 19ddf0d commit f92087e

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -262,5 +262,5 @@ See [Developing plug-ins](https://github.com/adaptlearning/adapt_framework/wiki/
262262
<div float align=right><a href="#top">Back to Top</a></div>
263263

264264
----------------------------
265-
**Version number:** 2.1.7 <a href="https://community.adaptlearning.org/" target="_blank"><img src="https://github.com/adaptlearning/documentation/blob/master/04_wiki_assets/plug-ins/images/adapt-logo-mrgn-lft.jpg" alt="adapt learning logo" align="right"></a>
265+
**Version number:** 2.1.9 <a href="https://community.adaptlearning.org/" target="_blank"><img src="https://github.com/adaptlearning/documentation/blob/master/04_wiki_assets/plug-ins/images/adapt-logo-mrgn-lft.jpg" alt="adapt learning logo" align="right"></a>
266266
**Author / maintainer:** Adapt Core Team with [contributors](https://github.com/adaptlearning/adapt-contrib-hotgraphic/graphs/contributors)

lib/commands/register.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ module.exports = {
1515
register: function (renderer) {
1616
var done = arguments[arguments.length-1] || function () {};
1717

18-
renderer.log(chalk.yellow('This will publish this plugin to', Constants.Registry));
18+
//renderer.log(chalk.yellow('This will publish this plugin to', Constants.Registry));
1919

2020
loadPluginProperties('./bower.json', {
2121
name: undefined,
@@ -159,7 +159,7 @@ function confirm(properties) {
159159
function register(plugin, repository) {
160160
var deferred = Q.defer();
161161

162-
bower.commands.register(plugin.toString(), repository, { registry: Constants.getRegistry() })
162+
bower.commands.register(plugin.toString(), repository.url ? repository.url : repository, { registry: Constants.getRegistry() })
163163
.on('end', function(result) {
164164
deferred.resolve({ result: result, plugin: plugin });
165165
})

0 commit comments

Comments
 (0)