@automatons/tools
Advanced tools
Comparing version 1.0.3 to 1.0.4
@@ -17,3 +17,3 @@ "use strict"; | ||
? await node_fetch_1.default(urlJoin(openapiPath, url)).then(res => res.text()) | ||
: fs_extra_1.readFile(path_1.resolve(path_1.dirname(openapiPath), url), { encoding: 'utf-8' }) | ||
: fs_extra_1.readFile(path_1.resolve(path_1.extname(openapiPath) ? path_1.dirname(openapiPath) : openapiPath, url), { encoding: 'utf-8' }) | ||
: fs_extra_1.readFile(path_1.resolve(url), { encoding: 'utf-8' })), url); | ||
@@ -20,0 +20,0 @@ const urlJoin = (base, path) => { |
{ | ||
"name": "@automatons/tools", | ||
"version": "1.0.3", | ||
"version": "1.0.4", | ||
"repository": "git@github.com:tanmen/openapi-automatons.git", | ||
@@ -40,3 +40,3 @@ "author": "tanmen <yt.prog@gmail.com>", | ||
}, | ||
"gitHead": "69e722f7e53ab3b5939633a752f32d2d90b793d7" | ||
"gitHead": "74c4261b3d170c9fe5249aa67aeb824358ad2f0f" | ||
} |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
46480