From 9051b2bc83db0d4915d7edf5f92dcfd72ea66033 Mon Sep 17 00:00:00 2001 From: Mike McNeil Date: Mon, 18 Jan 2016 08:12:29 -0600 Subject: [PATCH] Fix out of date require paths. --- lib/hooks/orm/index.js | 2 +- lib/hooks/orm/normalize-datastore.js | 2 +- lib/hooks/orm/normalize-model.js | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/hooks/orm/index.js b/lib/hooks/orm/index.js index 80d59ddc7..ff4d5cabf 100644 --- a/lib/hooks/orm/index.js +++ b/lib/hooks/orm/index.js @@ -11,7 +11,7 @@ module.exports = function (sails) { var howto_normalizeModelDef = require('./normalize-model'); var howto_buildORM = require('./build-orm'); var howto_backwardsCompatibleConfig = require('./backwards-compatibility/upgrade-sails.config'); - var howto_backwardsCompatibleDatastore = require('./backwards-compatibility/upgrade-datastore'); + var howto_backwardsCompatibleDatastore = require('./normalize-datastore'); diff --git a/lib/hooks/orm/normalize-datastore.js b/lib/hooks/orm/normalize-datastore.js index bff62a5de..158290e62 100644 --- a/lib/hooks/orm/normalize-datastore.js +++ b/lib/hooks/orm/normalize-datastore.js @@ -4,7 +4,7 @@ var path = require('path'); var fs = require('fs'); -var Err = require('../../../../errors'); +var Err = require('../../../errors'); /** diff --git a/lib/hooks/orm/normalize-model.js b/lib/hooks/orm/normalize-model.js index 2382a5f64..8f811bcdb 100644 --- a/lib/hooks/orm/normalize-model.js +++ b/lib/hooks/orm/normalize-model.js @@ -6,7 +6,7 @@ var util = require('util'); var _ = require('lodash'); var howto_backwardsCompatibleModelDef = require('./backwards-compatibility/upgrade-model-definition'); var howto_normalizeDatastore = require('./normalize-datastore'); -var Err = require('../../../../errors'); +var Err = require('../../../errors'); /**