@nestjs/cli
Advanced tools
Comparing version 5.6.0 to 5.6.1
@@ -41,5 +41,5 @@ "use strict"; | ||
validate(name) { | ||
const schematic = this.schematics.find(s => s.name === name || s.alias === name); | ||
const schematic = this.schematics.find((s) => s.name === name || s.alias === name); | ||
if (schematic === undefined || schematic === null) { | ||
throw new Error(`Invalid schematic ${name}`); | ||
throw new Error(`Invalid schematic "${name}". Please, ensure that "${name}" really exists in this collection.`); | ||
} | ||
@@ -46,0 +46,0 @@ return schematic.name; |
{ | ||
"name": "@nestjs/cli", | ||
"version": "5.6.0", | ||
"version": "5.6.1", | ||
"description": "Nest - modern, fast, powerful node.js web framework (@cli)", | ||
@@ -36,3 +36,3 @@ "publishConfig": { | ||
"@angular-devkit/schematics-cli": "^0.8.1", | ||
"@nestjs/schematics": "^5.9.4", | ||
"@nestjs/schematics": "^5.9.6", | ||
"@nuxtjs/opencollective": "^0.1.0", | ||
@@ -39,0 +39,0 @@ "@types/jest": "^22.2.3", |
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
79380
Updated@nestjs/schematics@^5.9.6