mirror of
https://github.com/mgerb/mywebsite
synced 2026-01-12 10:52:47 +00:00
updated bunch of file paths and changed the way posts are loaded
This commit is contained in:
4
node_modules/mongoose/lib/error/browserMissingSchema.js
generated
vendored
4
node_modules/mongoose/lib/error/browserMissingSchema.js
generated
vendored
@@ -1,4 +1,4 @@
|
||||
|
||||
/* eslint no-unused-vars: 1 */
|
||||
/*!
|
||||
* Module dependencies.
|
||||
*/
|
||||
@@ -11,7 +11,7 @@ var MongooseError = require('../error.js');
|
||||
* @inherits MongooseError
|
||||
*/
|
||||
|
||||
function MissingSchemaError (name) {
|
||||
function MissingSchemaError(name) {
|
||||
var msg = 'Schema hasn\'t been registered for document.\n'
|
||||
+ 'Use mongoose.Document(name, schema)';
|
||||
MongooseError.call(this, msg);
|
||||
|
||||
Reference in New Issue
Block a user