Comparing version 1.0.1 to 1.0.2
@@ -18,2 +18,10 @@ "use strict"; | ||
} | ||
const makeArray = (flag) => { | ||
const array = args[flag]; | ||
if (!array) | ||
return; | ||
const newArray = array === null || array === void 0 ? void 0 : array.map((str) => str.split(',')).flat(); | ||
args[flag] = newArray; | ||
}; | ||
makeArray('--type'); | ||
exports.default = args; |
@@ -13,2 +13,10 @@ import arg from 'arg'; | ||
} | ||
const makeArray = (flag) => { | ||
const array = args[flag]; | ||
if (!array) | ||
return; | ||
const newArray = array === null || array === void 0 ? void 0 : array.map((str) => str.split(',')).flat(); | ||
args[flag] = newArray; | ||
}; | ||
makeArray('--type'); | ||
export default args; |
{ | ||
"name": "code-info", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"description": "code-info", | ||
@@ -5,0 +5,0 @@ "preferGlobal": true, |
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
8709
233