diff --git a/package-lock.json b/package-lock.json index 72bece8..cb2a3e6 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "hivessh", - "version": "1.0.15", + "version": "1.1.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "hivessh", - "version": "1.0.15", + "version": "1.1.0", "license": "MIT", "dependencies": { "ssh2": "^1.15.0" diff --git a/package.json b/package.json index 3ba22e5..b197ab4 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "hivessh", - "version": "1.0.15", + "version": "1.1.0", "description": "HiveSsh simplifies SSH2 connections via promise-based task execution on Linux servers with built-in server utilities and powerful command execution functions", "main": "dist/index.js", "type": "module", diff --git a/src/utils/logger.ts b/src/utils/logger.ts index debfaa4..d2c5199 100644 --- a/src/utils/logger.ts +++ b/src/utils/logger.ts @@ -47,7 +47,7 @@ export function getLogTypeByLevel( } } - if (!customLogType[level]) { + if (customLogType[level]) { return { name: customLogType[level].name, short: (customLogType[level].short) @@ -62,9 +62,6 @@ export function getLogTypeByLevel( name: "Unknown", short: "UNK", } - - - } export interface Log {