cloud-config-toolkit-cli
Advanced tools
Comparing version 0.0.3 to 0.0.4
@@ -16,5 +16,14 @@ #!/usr/bin/env node | ||
if (error.code === 'MODULE_NOT_FOUND') { | ||
console.log(chalk.red('Error: ') + chalk.green(modulePath) + ' not found in the project directory.\n'); | ||
switch (modulePath) { | ||
case './cct.conf.js': | ||
console.log(chalk.red('Error: ') + chalk.green('cct.conf.js') + ' configuration file not found in the project directory.'); | ||
break; | ||
default: | ||
console.log(chalk.red('Error: ') + chalk.green(modulePath) + ' not found in the project directory.'); | ||
} | ||
} else { | ||
throw error; | ||
} | ||
throw error; | ||
process.exit(1); | ||
} | ||
@@ -21,0 +30,0 @@ |
{ | ||
"name": "cloud-config-toolkit-cli", | ||
"version": "0.0.3", | ||
"version": "0.0.4", | ||
"description": "Cloud config toolkit: command line module", | ||
@@ -5,0 +5,0 @@ "scripts": { |
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
23166
718