From 89cf2c6f98881f2f01c130e644be954ed66cd45f Mon Sep 17 00:00:00 2001 From: Jan Tuomi Date: Mon, 7 Dec 2020 14:07:26 +0200 Subject: Solve 7.1 --- index.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'index.ts') diff --git a/index.ts b/index.ts index ad8a47d..543c680 100644 --- a/index.ts +++ b/index.ts @@ -1,4 +1,6 @@ import * as fs from "fs"; +const util = require('util') + import { ExerciseModuleFunc } from "./types"; const args = process.argv; @@ -15,7 +17,7 @@ import(modulePath).then(m => { }) .then(result => { console.log("=== RESULT ==="); - console.log(result); + console.log(util.inspect(result, { showHidden: false, depth: null })) }) .catch(err => { console.error(err); -- cgit v1.3