clean-publish
Advanced tools
Comparing version 3.4.1 to 3.4.2
@@ -41,5 +41,8 @@ #!/usr/bin/env node | ||
const DEFAULT_OPTIONS = { | ||
packageManager: 'npm' | ||
} | ||
async function handleOptions () { | ||
let options = {} | ||
options.packageManager = 'npm' | ||
for (let i = 2; i < process.argv.length; i++) { | ||
@@ -93,3 +96,3 @@ if (process.argv[i] === '--help') { | ||
let config = await getConfig() | ||
return { ...config, ...options } | ||
return { ...DEFAULT_OPTIONS, ...config, ...options } | ||
} else { | ||
@@ -96,0 +99,0 @@ return options |
{ | ||
"name": "clean-publish", | ||
"version": "3.4.1", | ||
"version": "3.4.2", | ||
"description": "Clean your package before publish", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
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
21283
632