mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-23 02:35:49 +00:00
feature(cloudcmd) exports.start -> module.exports
This commit is contained in:
parent
16bf776ddb
commit
0470c0a973
2 changed files with 2 additions and 2 deletions
|
|
@ -70,7 +70,7 @@
|
|||
function start(config) {
|
||||
var cloudcmd = require('..');
|
||||
|
||||
cloudcmd.start(config);
|
||||
cloudcmd(config);
|
||||
}
|
||||
|
||||
function isPort(argv) {
|
||||
|
|
|
|||
|
|
@ -17,7 +17,7 @@
|
|||
|
||||
Config = main.config;
|
||||
|
||||
exports.start = function(params) {
|
||||
module.exports = function(params) {
|
||||
readConfig(function(error, config) {
|
||||
var keys;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue