@oclif/core
Advanced tools
Comparing version 0.5.19 to 0.5.20
@@ -5,2 +5,9 @@ # Changelog | ||
### [0.5.20](https://github.com/oclif/core/compare/v0.5.19...v0.5.20) (2021-07-01) | ||
### Bug Fixes | ||
* allow for no args on top level topic ([1231eae](https://github.com/oclif/core/commit/1231eae78310d0da064ed74b53ad58e10e6905b6)) | ||
### [0.5.19](https://github.com/oclif/core/compare/v0.5.18...v0.5.19) (2021-06-30) | ||
@@ -7,0 +14,0 @@ |
@@ -29,2 +29,3 @@ "use strict"; | ||
async function run(argv = process.argv.slice(2), options) { | ||
var _a; | ||
// Handle the case when a file URL string or URL is passed in such as 'import.meta.url'; covert to file path. | ||
@@ -36,3 +37,3 @@ if ((typeof options === 'string' && options.startsWith('file://')) || options instanceof URL) { | ||
const config = await config_1.Config.load(options || (module.parent && module.parent.parent && module.parent.parent.filename) || __dirname); | ||
if (config.topicSeparator !== ':' && !argv[0].includes(':')) | ||
if (config.topicSeparator !== ':' && !((_a = argv[0]) === null || _a === void 0 ? void 0 : _a.includes(':'))) | ||
argv = help_1.standardizeIDFromArgv(argv, config); | ||
@@ -39,0 +40,0 @@ let [id, ...argvSlice] = argv; |
{ | ||
"name": "@oclif/core", | ||
"description": "base library for oclif CLIs", | ||
"version": "0.5.19", | ||
"version": "0.5.20", | ||
"author": "Jeff Dickey @jdxcode", | ||
@@ -6,0 +6,0 @@ "bugs": "https://github.com/oclif/core/issues", |
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
193518
5003