|
@@ -1,4 +1,5 @@
|
|
|
const finder = require('./finder').get();
|
|
|
+const formatter = require('./formatter');
|
|
|
|
|
|
module.exports.in = function (path) {
|
|
|
return finder.from(path);
|
|
@@ -7,3 +8,8 @@ module.exports.in = function (path) {
|
|
|
module.exports.get = function () {
|
|
|
return finder;
|
|
|
};
|
|
|
+
|
|
|
+module.exports.toString = function (name, result) {
|
|
|
+ const f = new formatter(name, result);
|
|
|
+ return f.toString();
|
|
|
+};
|