@webpack-cli/configtest
Advanced tools
Comparing version
@@ -8,6 +8,6 @@ "use strict"; | ||
await cli.makeCommand({ | ||
name: 'configtest [config-path]', | ||
alias: 't', | ||
description: 'Validate a webpack configuration.', | ||
pkg: '@webpack-cli/configtest', | ||
name: "configtest [config-path]", | ||
alias: "t", | ||
description: "Validate a webpack configuration.", | ||
pkg: "@webpack-cli/configtest", | ||
}, [], async (configPath) => { | ||
@@ -29,6 +29,6 @@ const config = await cli.resolveConfig(configPath ? { config: [configPath] } : {}); | ||
if (configPaths.size === 0) { | ||
logger.error('No configuration found.'); | ||
logger.error("No configuration found."); | ||
process.exit(2); | ||
} | ||
logger.info(`Validate '${Array.from(configPaths).join(' ,')}'.`); | ||
logger.info(`Validate '${Array.from(configPaths).join(" ,")}'.`); | ||
try { | ||
@@ -51,3 +51,3 @@ // eslint-disable-next-line @typescript-eslint/no-explicit-any | ||
} | ||
logger.success('There are no validation errors in the given webpack configuration.'); | ||
logger.success("There are no validation errors in the given webpack configuration."); | ||
}); | ||
@@ -54,0 +54,0 @@ } |
{ | ||
"name": "@webpack-cli/configtest", | ||
"version": "1.0.3", | ||
"version": "1.0.4", | ||
"description": "Validate a webpack configuration.", | ||
@@ -23,3 +23,3 @@ "main": "lib/index.js", | ||
}, | ||
"gitHead": "4edf3acf1541344f71cf7da7c3c654347f19aea7" | ||
"gitHead": "2be9b9254009598e021b830091fba8832dfdb57b" | ||
} |
4382
-26.23%5
-16.67%