From 383ecdabc72f176b473c020ab3350ab63e3ccd72 Mon Sep 17 00:00:00 2001 From: Valeri Karpov Date: Mon, 8 Feb 2021 17:24:39 -0500 Subject: [PATCH] fix(operations): fix deprecation warning in Node.js 14 --- lib/operations/operation.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/operations/operation.js b/lib/operations/operation.js index a8c86fbbaaf..94ccd814940 100644 --- a/lib/operations/operation.js +++ b/lib/operations/operation.js @@ -1,7 +1,7 @@ 'use strict'; const Explain = require('../explain').Explain; -const MongoError = require('../core').MongoError; +const MongoError = require('../core/error').MongoError; const Aspect = { READ_OPERATION: Symbol('READ_OPERATION'),