@hoth/utils
Advanced tools
Comparing version 1.1.2 to 1.1.4
@@ -8,4 +8,4 @@ /** | ||
module: any; | ||
}; | ||
} | undefined; | ||
export declare function loadModule(module: string): Promise<any>; | ||
export declare function noop(): void; |
@@ -25,3 +25,3 @@ "use strict"; | ||
try { | ||
const basedir = process.cwd() || process.env.ROOT_PATH; | ||
const basedir = process.env.ROOT_PATH || process.cwd(); | ||
// eslint-disable-next-line | ||
@@ -28,0 +28,0 @@ const module = require(resolve_from_1.default.silent(basedir, 'fastify') || 'fastify'); |
{ | ||
"name": "@hoth/utils", | ||
"version": "1.1.2", | ||
"version": "1.1.4", | ||
"description": "utils plugin for hoth framework", | ||
@@ -11,3 +11,3 @@ "main": "dist/index.js", | ||
"type": "git", | ||
"url": "git+https://github.com/cxtom/hoth.git" | ||
"url": "git+https://github.com/searchfe/hoth.git" | ||
}, | ||
@@ -33,3 +33,3 @@ "keywords": [ | ||
], | ||
"gitHead": "ab78cdefa5a55d3bd34f22e475bbae359f49b61f" | ||
"gitHead": "0735cada835eabb2ac787ca1c5f2ff4bb8310fe2" | ||
} |
Sorry, the diff of this file is not supported yet
3886
5