print config
This commit is contained in:
parent
7da7e4f07e
commit
1a7e519578
|
@ -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