mirror of https://gitee.com/bigwinds/arangodb
stringifying collections should honor colors
This commit is contained in:
parent
83c0326145
commit
0206076fda
|
@ -147,7 +147,7 @@ ArangoCollection.prototype._PRINT = function () {
|
|||
var colors = require("internal").colors;
|
||||
|
||||
output("[ArangoCollection ",
|
||||
colors.COLOR_STRING, this._id, colors.COLOR_RESET,
|
||||
colors.COLOR_NUMBER, this._id, colors.COLOR_RESET,
|
||||
", \"",
|
||||
colors.COLOR_STRING, this.name(), colors.COLOR_RESET,
|
||||
"\" (type ", type, ", status ", status, ")]");
|
||||
|
|
|
@ -146,7 +146,7 @@ ArangoCollection.prototype._PRINT = function () {
|
|||
var colors = require("internal").colors;
|
||||
|
||||
output("[ArangoCollection ",
|
||||
colors.COLOR_STRING, this._id, colors.COLOR_RESET,
|
||||
colors.COLOR_NUMBER, this._id, colors.COLOR_RESET,
|
||||
", \"",
|
||||
colors.COLOR_STRING, this.name(), colors.COLOR_RESET,
|
||||
"\" (type ", type, ", status ", status, ")]");
|
||||
|
|
Loading…
Reference in New Issue