mirror of
https://git.coolaj86.com/coolaj86/telebit.js.git
synced 2025-02-25 09:58:10 +00:00
print config
This commit is contained in:
parent
7da7e4f07e
commit
1a7e519578
@ -379,7 +379,7 @@ function parseConfig(err, text) {
|
||||
console.info(body.message);
|
||||
} else if ("CONFIG" === body.code) {
|
||||
delete body.code;
|
||||
YAML.safeDump(body);
|
||||
console.info(YAML.safeDump(body));
|
||||
} else {
|
||||
console.info(JSON.stringify(body, null, 2));
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user