Skip to content

Commit

Permalink
Fix ajv-keywords msg that appears when doing npm install -g sails (i.…
Browse files Browse the repository at this point in the history
…e. upgrade eslint). Also a couple of lint fixes.
  • Loading branch information
mikermcneil committed Jun 18, 2019
1 parent d55cec2 commit 4e23407
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 8 deletions.
7 changes: 0 additions & 7 deletions lib/hooks/blueprints/parse-blueprint-options.js
Expand Up @@ -248,7 +248,6 @@ module.exports = function parseBlueprintOptions(req) {
// ██║ ██╔══██╗██╔══╝ ██╔══██║ ██║ ██╔══╝
// ╚██████╗██║ ██║███████╗██║ ██║ ██║ ███████╗
// ╚═════╝╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝ ╚═╝ ╚══════╝

case 'create':

// Set `fetch: true`
Expand Down Expand Up @@ -289,7 +288,6 @@ module.exports = function parseBlueprintOptions(req) {
// ██║ ██║██╔═══╝ ██║ ██║██╔══██║ ██║ ██╔══╝
// ╚██████╔╝██║ ██████╔╝██║ ██║ ██║ ███████╗
// ╚═════╝ ╚═╝ ╚═════╝ ╚═╝ ╚═╝ ╚═╝ ╚══════╝

case 'update':

queryOptions.criteria = {
Expand Down Expand Up @@ -333,7 +331,6 @@ module.exports = function parseBlueprintOptions(req) {
// ██║ ██║██╔══╝ ╚════██║ ██║ ██╔══██╗██║ ██║ ╚██╔╝
// ██████╔╝███████╗███████║ ██║ ██║ ██║╚██████╔╝ ██║
// ╚═════╝ ╚══════╝╚══════╝ ╚═╝ ╚═╝ ╚═╝ ╚═════╝ ╚═╝

case 'destroy':

queryOptions.criteria = {};
Expand All @@ -357,7 +354,6 @@ module.exports = function parseBlueprintOptions(req) {
// ██╔══██║██║ ██║██║ ██║
// ██║ ██║██████╔╝██████╔╝
// ╚═╝ ╚═╝╚═════╝ ╚═════╝

case 'add':

if (!req.options.alias) {
Expand All @@ -377,7 +373,6 @@ module.exports = function parseBlueprintOptions(req) {
// ██╔══██╗██╔══╝ ██║╚██╔╝██║██║ ██║╚██╗ ██╔╝██╔══╝
// ██║ ██║███████╗██║ ╚═╝ ██║╚██████╔╝ ╚████╔╝ ███████╗
// ╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝ ╚═════╝ ╚═══╝ ╚══════╝

case 'remove':

if (!req.options.alias) {
Expand All @@ -397,7 +392,6 @@ module.exports = function parseBlueprintOptions(req) {
// ██╔══██╗██╔══╝ ██╔═══╝ ██║ ██╔══██║██║ ██╔══╝
// ██║ ██║███████╗██║ ███████╗██║ ██║╚██████╗███████╗
// ╚═╝ ╚═╝╚══════╝╚═╝ ╚══════╝╚═╝ ╚═╝ ╚═════╝╚══════╝

case 'replace':

if (!req.options.alias) {
Expand Down Expand Up @@ -438,7 +432,6 @@ module.exports = function parseBlueprintOptions(req) {
// ██╔═══╝ ██║ ██║██╔═══╝ ██║ ██║██║ ██╔══██║ ██║ ██╔══╝
// ██║ ╚██████╔╝██║ ╚██████╔╝███████╗██║ ██║ ██║ ███████╗
// ╚═╝ ╚═════╝ ╚═╝ ╚═════╝ ╚══════╝╚═╝ ╚═╝ ╚═╝ ╚══════╝

case 'populate':

if (!req.options.alias) {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -72,7 +72,7 @@
"devDependencies": {
"benchmark": "^2.1.2",
"connect-redis": "3.3.2",
"eslint": "4.11.0",
"eslint": "5.16.0",
"expect.js": "0.3.1",
"fs-extra": "4.0.2",
"machinepack-fs": "^8.0.2",
Expand Down

0 comments on commit 4e23407

Please sign in to comment.