From d67ffa7a2e3f86734c7e9b6944aab1d765b9e75e Mon Sep 17 00:00:00 2001 From: Murat Karaca <44725816+xkmgt@users.noreply.github.com> Date: Wed, 10 Feb 2021 16:28:58 +0100 Subject: [PATCH] fix: MongoError circular dependency warning (#2734) --- 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 a8c86fbbaa..94ccd81494 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'),