From d1d8311b9da5e638f3bda730c1b309257b470379 Mon Sep 17 00:00:00 2001 From: Raphix Date: Sat, 13 Jan 2024 17:13:49 +0100 Subject: [PATCH] Edit path for the metrics.json --- main.js | 1 + package.json | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/main.js b/main.js index 34a57cb..14cf2fd 100644 --- a/main.js +++ b/main.js @@ -7,6 +7,7 @@ const fs = require('fs'); module.exports.setMetricFile = (path) => { basics.setMetricsFile(path); + const metricsFile = basics.getMetricsFile(); } diff --git a/package.json b/package.json index 41b52a5..4f47177 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "webmetrik", - "version": "0.1.2", + "version": "0.1.3", "description": "NodeJS - npm package - Make metrics and make it available by making a httpServer", "main": "main.js", "keywords": [],