mirror of https://github.com/embarklabs/embark.git
Add link to documentation
This commit is contained in:
parent
8fe69c59dc
commit
eeb8fa752d
|
@ -42,7 +42,7 @@ class Console {
|
||||||
if(typeof pluginResult !== 'object'){
|
if(typeof pluginResult !== 'object'){
|
||||||
if (pluginResult !== false && pluginResult !== 'false' && pluginResult !== undefined) {
|
if (pluginResult !== false && pluginResult !== 'false' && pluginResult !== undefined) {
|
||||||
this.logger.warn("[DEPRECATED] In future versions of embark, we expect the console command to return an object " +
|
this.logger.warn("[DEPRECATED] In future versions of embark, we expect the console command to return an object " +
|
||||||
"having 2 functions: match and process.");
|
"having 2 functions: match and process. The documentation with example can be found here: https://embark.status.im/docs/plugin_reference.html#embark-registerConsoleCommand-callback-options");
|
||||||
return callback(null, pluginResult);
|
return callback(null, pluginResult);
|
||||||
}
|
}
|
||||||
} else if (pluginResult.match()) {
|
} else if (pluginResult.match()) {
|
||||||
|
|
Loading…
Reference in New Issue