diff --git a/.install-scripts/scripts/remove-mongodb.ts b/.install-scripts/scripts/remove-mongodb.ts index f52ccb06..befa3e67 100644 --- a/.install-scripts/scripts/remove-mongodb.ts +++ b/.install-scripts/scripts/remove-mongodb.ts @@ -304,7 +304,7 @@ const removeMongoDb = async () => { replace: '', }, { - find: /\s*\"mongoose\":.*/g, + find: /\s*\"mongoose(-autopopulate)?\":.*/g, replace: '', }, {