Skip to content

Commit

Permalink
Fix invalid package.json path
Browse files Browse the repository at this point in the history
  • Loading branch information
MichelFR committed Jun 29, 2023
1 parent e744d36 commit 4134381
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "mqdockerup",
"version": "1.0.0",
"version": "1.0.1",
"description": "A Node.js application that pushes information about running Docker containers to an MQTT server.",
"main": "index.js",
"scripts": {
Expand Down
3 changes: 1 addition & 2 deletions src/services/LoggerService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import figlet from 'figlet';
import fs from 'fs';
import path from 'path';

const packageJson = require("../../package.json");
const packageJson = require("../../../package.json");

const logsDirectory = path.join(__dirname, 'logs');

Expand All @@ -19,7 +19,6 @@ const logFormat = winston.format.combine(
const { timestamp, level, message, ...args } = info;

let output = `\x1b[90m${timestamp}\x1b[0m [${level}] ${message}`;

return output;
})
);
Expand Down

0 comments on commit 4134381

Please sign in to comment.