|
@@ -17,12 +17,12 @@ const result = class Result {
|
|
|
}
|
|
|
|
|
|
toString() {
|
|
|
- if (this.formatter === null) {
|
|
|
- } else {
|
|
|
+ if (this.formatter !== null) {
|
|
|
return this.formatter.format(this);
|
|
|
}
|
|
|
+ return JSON.stringify(this.coAuthors);
|
|
|
}
|
|
|
|
|
|
};
|
|
|
|
|
|
-module.exports = result;
|
|
|
+module.exports = result;
|