print config
This commit is contained in:
parent
854002da30
commit
42707f6137
|
@ -379,7 +379,7 @@ function parseConfig(err, text) {
|
||||||
console.info(body.message);
|
console.info(body.message);
|
||||||
} else if ("CONFIG" === body.code) {
|
} else if ("CONFIG" === body.code) {
|
||||||
delete body.code;
|
delete body.code;
|
||||||
YAML.safeDump(body);
|
console.info(YAML.safeDump(body));
|
||||||
} else {
|
} else {
|
||||||
console.info(JSON.stringify(body, null, 2));
|
console.info(JSON.stringify(body, null, 2));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue