Skip to content

Commit

Permalink
add doc link
Browse files Browse the repository at this point in the history
  • Loading branch information
jrainville committed Dec 14, 2018
1 parent ae61792 commit 6a03a8f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/lib/core/plugin.js
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,8 @@ Plugin.prototype.addContractFile = function(file) {

Plugin.prototype.registerConsoleCommand = function(optionsOrCb) {
if (typeof optionsOrCb === 'function') {
this.logger.warn(__('Registering console commands with function syntax is deprecated and will likely be removed in future versions of Embark.'));
this.logger.warn(__('Registering console commands with function syntax is deprecated and will likely be removed in future versions of Embark'));
this.logger.info(__('You can find the new API documentation here: %s', 'https://embark.status.im/docs/plugin_reference.html#registerConsoleCommand-options'.underline));
}
this.console.push(optionsOrCb);
this.addPluginType('console');
Expand Down

0 comments on commit 6a03a8f

Please sign in to comment.